db_id
stringclasses 140
values | question
stringlengths 16
224
| schema
stringclasses 140
values | summarized-schema
stringlengths 18
304
| shrink-score
float64 0
1
|
---|---|---|---|---|
cre_Docs_and_Epenses | Show the ids for projects with at least 2 documents. | ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_budget_codes : budget_type_code (text) , budget_type_description (text) | projects : project_id (number) , project_details (text) | documents : document_id (number) , document_type_code (text) , project_id (number) , document_date (time) , document_name (text) , document_description (text) , other_details (text) | statements : statement_id (number) , statement_details (text) | documents_with_expenses : document_id (number) , budget_type_code (text) , document_details (text) | accounts : account_id (number) , statement_id (number) , account_details (text) | documents : project_id (number) , document_id (number) | 0.909091 |
cre_Docs_and_Epenses | What are project ids of projects that have 2 or more corresponding documents? | ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_budget_codes : budget_type_code (text) , budget_type_description (text) | projects : project_id (number) , project_details (text) | documents : document_id (number) , document_type_code (text) , project_id (number) , document_date (time) , document_name (text) , document_description (text) , other_details (text) | statements : statement_id (number) , statement_details (text) | documents_with_expenses : document_id (number) , budget_type_code (text) , document_details (text) | accounts : account_id (number) , statement_id (number) , account_details (text) | documents : project_id (number) , document_id (number) | 0.909091 |
cre_Docs_and_Epenses | List document type codes and the number of documents in each code. | ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_budget_codes : budget_type_code (text) , budget_type_description (text) | projects : project_id (number) , project_details (text) | documents : document_id (number) , document_type_code (text) , project_id (number) , document_date (time) , document_name (text) , document_description (text) , other_details (text) | statements : statement_id (number) , statement_details (text) | documents_with_expenses : document_id (number) , budget_type_code (text) , document_details (text) | accounts : account_id (number) , statement_id (number) , account_details (text) | documents : document_type_code (text) , document_id (number) | 0.909091 |
cre_Docs_and_Epenses | How many documents are there of each type? | ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_budget_codes : budget_type_code (text) , budget_type_description (text) | projects : project_id (number) , project_details (text) | documents : document_id (number) , document_type_code (text) , project_id (number) , document_date (time) , document_name (text) , document_description (text) , other_details (text) | statements : statement_id (number) , statement_details (text) | documents_with_expenses : document_id (number) , budget_type_code (text) , document_details (text) | accounts : account_id (number) , statement_id (number) , account_details (text) | documents : document_type_code (text) , document_id (number) | 0.909091 |
cre_Docs_and_Epenses | What is the document type code with most number of documents? | ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_budget_codes : budget_type_code (text) , budget_type_description (text) | projects : project_id (number) , project_details (text) | documents : document_id (number) , document_type_code (text) , project_id (number) , document_date (time) , document_name (text) , document_description (text) , other_details (text) | statements : statement_id (number) , statement_details (text) | documents_with_expenses : document_id (number) , budget_type_code (text) , document_details (text) | accounts : account_id (number) , statement_id (number) , account_details (text) | documents : document_type_code (text) , document_id (number) | 0.909091 |
cre_Docs_and_Epenses | Return the code of the document type that is most common. | ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_budget_codes : budget_type_code (text) , budget_type_description (text) | projects : project_id (number) , project_details (text) | documents : document_id (number) , document_type_code (text) , project_id (number) , document_date (time) , document_name (text) , document_description (text) , other_details (text) | statements : statement_id (number) , statement_details (text) | documents_with_expenses : document_id (number) , budget_type_code (text) , document_details (text) | accounts : account_id (number) , statement_id (number) , account_details (text) | documents : document_type_code (text) , document_id (number) | 0.909091 |
cre_Docs_and_Epenses | Show the document type code with fewer than 3 documents. | ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_budget_codes : budget_type_code (text) , budget_type_description (text) | projects : project_id (number) , project_details (text) | documents : document_id (number) , document_type_code (text) , project_id (number) , document_date (time) , document_name (text) , document_description (text) , other_details (text) | statements : statement_id (number) , statement_details (text) | documents_with_expenses : document_id (number) , budget_type_code (text) , document_details (text) | accounts : account_id (number) , statement_id (number) , account_details (text) | documents : document_type_code (text) , document_id (number) | 0.909091 |
cre_Docs_and_Epenses | What are the codes corresponding to document types for which there are less than 3 documents? | ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_budget_codes : budget_type_code (text) , budget_type_description (text) | projects : project_id (number) , project_details (text) | documents : document_id (number) , document_type_code (text) , project_id (number) , document_date (time) , document_name (text) , document_description (text) , other_details (text) | statements : statement_id (number) , statement_details (text) | documents_with_expenses : document_id (number) , budget_type_code (text) , document_details (text) | accounts : account_id (number) , statement_id (number) , account_details (text) | documents : document_type_code (text) , document_id (number) | 0.909091 |
cre_Docs_and_Epenses | Show the statement detail and the corresponding document name for the statement with detail 'Private Project'. | ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_budget_codes : budget_type_code (text) , budget_type_description (text) | projects : project_id (number) , project_details (text) | documents : document_id (number) , document_type_code (text) , project_id (number) , document_date (time) , document_name (text) , document_description (text) , other_details (text) | statements : statement_id (number) , statement_details (text) | documents_with_expenses : document_id (number) , budget_type_code (text) , document_details (text) | accounts : account_id (number) , statement_id (number) , account_details (text) | statements : statement_details (text) , statement_id (number) | documents : document_name (text) , document_id (number) | 0.818182 |
cre_Docs_and_Epenses | What are the details for statements with the details 'Private Project', and what are the names of the corresponding documents? | ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_budget_codes : budget_type_code (text) , budget_type_description (text) | projects : project_id (number) , project_details (text) | documents : document_id (number) , document_type_code (text) , project_id (number) , document_date (time) , document_name (text) , document_description (text) , other_details (text) | statements : statement_id (number) , statement_details (text) | documents_with_expenses : document_id (number) , budget_type_code (text) , document_details (text) | accounts : account_id (number) , statement_id (number) , account_details (text) | statements : statement_details (text) , statement_id (number) | documents : document_name (text) , document_id (number) | 0.818182 |
cre_Docs_and_Epenses | Show all document type codes, document type names, document type descriptions. | ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_budget_codes : budget_type_code (text) , budget_type_description (text) | projects : project_id (number) , project_details (text) | documents : document_id (number) , document_type_code (text) , project_id (number) , document_date (time) , document_name (text) , document_description (text) , other_details (text) | statements : statement_id (number) , statement_details (text) | documents_with_expenses : document_id (number) , budget_type_code (text) , document_details (text) | accounts : account_id (number) , statement_id (number) , account_details (text) | ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | 0.863636 |
cre_Docs_and_Epenses | What are the codes, names, and descriptions of the different document types? | ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_budget_codes : budget_type_code (text) , budget_type_description (text) | projects : project_id (number) , project_details (text) | documents : document_id (number) , document_type_code (text) , project_id (number) , document_date (time) , document_name (text) , document_description (text) , other_details (text) | statements : statement_id (number) , statement_details (text) | documents_with_expenses : document_id (number) , budget_type_code (text) , document_details (text) | accounts : account_id (number) , statement_id (number) , account_details (text) | ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | 0.863636 |
cre_Docs_and_Epenses | What is the document type description for document type named Film? | ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_budget_codes : budget_type_code (text) , budget_type_description (text) | projects : project_id (number) , project_details (text) | documents : document_id (number) , document_type_code (text) , project_id (number) , document_date (time) , document_name (text) , document_description (text) , other_details (text) | statements : statement_id (number) , statement_details (text) | documents_with_expenses : document_id (number) , budget_type_code (text) , document_details (text) | accounts : account_id (number) , statement_id (number) , account_details (text) | ref_document_types : document_type_description (text) , document_type_name (text) | 0.909091 |
cre_Docs_and_Epenses | Return the description of the document type name 'Film'. | ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_budget_codes : budget_type_code (text) , budget_type_description (text) | projects : project_id (number) , project_details (text) | documents : document_id (number) , document_type_code (text) , project_id (number) , document_date (time) , document_name (text) , document_description (text) , other_details (text) | statements : statement_id (number) , statement_details (text) | documents_with_expenses : document_id (number) , budget_type_code (text) , document_details (text) | accounts : account_id (number) , statement_id (number) , account_details (text) | ref_document_types : document_type_description (text) , document_type_name (text) | 0.909091 |
cre_Docs_and_Epenses | What is the document type name and the document type description and creation date for all the documents? | ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_budget_codes : budget_type_code (text) , budget_type_description (text) | projects : project_id (number) , project_details (text) | documents : document_id (number) , document_type_code (text) , project_id (number) , document_date (time) , document_name (text) , document_description (text) , other_details (text) | statements : statement_id (number) , statement_details (text) | documents_with_expenses : document_id (number) , budget_type_code (text) , document_details (text) | accounts : account_id (number) , statement_id (number) , account_details (text) | ref_document_types : document_type_name (text) , document_type_description (text) , document_type_code (text) | documents : document_date (time) , document_type_code (text) | 0.772727 |
cre_Docs_and_Epenses | Return the type name, type description, and date of creation for each document. | ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_budget_codes : budget_type_code (text) , budget_type_description (text) | projects : project_id (number) , project_details (text) | documents : document_id (number) , document_type_code (text) , project_id (number) , document_date (time) , document_name (text) , document_description (text) , other_details (text) | statements : statement_id (number) , statement_details (text) | documents_with_expenses : document_id (number) , budget_type_code (text) , document_details (text) | accounts : account_id (number) , statement_id (number) , account_details (text) | ref_document_types : document_type_name (text) , document_type_description (text) , document_type_code (text) | documents : document_date (time) , document_type_code (text) | 0.772727 |
cre_Docs_and_Epenses | Show the number of projects. | ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_budget_codes : budget_type_code (text) , budget_type_description (text) | projects : project_id (number) , project_details (text) | documents : document_id (number) , document_type_code (text) , project_id (number) , document_date (time) , document_name (text) , document_description (text) , other_details (text) | statements : statement_id (number) , statement_details (text) | documents_with_expenses : document_id (number) , budget_type_code (text) , document_details (text) | accounts : account_id (number) , statement_id (number) , account_details (text) | projects : project_id (number) | 0.954545 |
cre_Docs_and_Epenses | How many projects are there? | ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_budget_codes : budget_type_code (text) , budget_type_description (text) | projects : project_id (number) , project_details (text) | documents : document_id (number) , document_type_code (text) , project_id (number) , document_date (time) , document_name (text) , document_description (text) , other_details (text) | statements : statement_id (number) , statement_details (text) | documents_with_expenses : document_id (number) , budget_type_code (text) , document_details (text) | accounts : account_id (number) , statement_id (number) , account_details (text) | projects : project_id (number) | 0.954545 |
cre_Docs_and_Epenses | List ids and details for all projects. | ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_budget_codes : budget_type_code (text) , budget_type_description (text) | projects : project_id (number) , project_details (text) | documents : document_id (number) , document_type_code (text) , project_id (number) , document_date (time) , document_name (text) , document_description (text) , other_details (text) | statements : statement_id (number) , statement_details (text) | documents_with_expenses : document_id (number) , budget_type_code (text) , document_details (text) | accounts : account_id (number) , statement_id (number) , account_details (text) | projects : project_id (number) , project_details (text) | 0.909091 |
cre_Docs_and_Epenses | What are the ids and details for each project? | ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_budget_codes : budget_type_code (text) , budget_type_description (text) | projects : project_id (number) , project_details (text) | documents : document_id (number) , document_type_code (text) , project_id (number) , document_date (time) , document_name (text) , document_description (text) , other_details (text) | statements : statement_id (number) , statement_details (text) | documents_with_expenses : document_id (number) , budget_type_code (text) , document_details (text) | accounts : account_id (number) , statement_id (number) , account_details (text) | projects : project_id (number) , project_details (text) | 0.909091 |
cre_Docs_and_Epenses | What is the project id and detail for the project with at least two documents? | ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_budget_codes : budget_type_code (text) , budget_type_description (text) | projects : project_id (number) , project_details (text) | documents : document_id (number) , document_type_code (text) , project_id (number) , document_date (time) , document_name (text) , document_description (text) , other_details (text) | statements : statement_id (number) , statement_details (text) | documents_with_expenses : document_id (number) , budget_type_code (text) , document_details (text) | accounts : account_id (number) , statement_id (number) , account_details (text) | projects : project_id (number) , project_details (text) | documents : project_id (number) , document_id (number) | 0.818182 |
cre_Docs_and_Epenses | Return the ids and details corresponding to projects for which there are more than two documents. | ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_budget_codes : budget_type_code (text) , budget_type_description (text) | projects : project_id (number) , project_details (text) | documents : document_id (number) , document_type_code (text) , project_id (number) , document_date (time) , document_name (text) , document_description (text) , other_details (text) | statements : statement_id (number) , statement_details (text) | documents_with_expenses : document_id (number) , budget_type_code (text) , document_details (text) | accounts : account_id (number) , statement_id (number) , account_details (text) | projects : project_id (number) , project_details (text) | documents : project_id (number) , document_id (number) | 0.818182 |
cre_Docs_and_Epenses | What is the project detail for the project with document "King Book"? | ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_budget_codes : budget_type_code (text) , budget_type_description (text) | projects : project_id (number) , project_details (text) | documents : document_id (number) , document_type_code (text) , project_id (number) , document_date (time) , document_name (text) , document_description (text) , other_details (text) | statements : statement_id (number) , statement_details (text) | documents_with_expenses : document_id (number) , budget_type_code (text) , document_details (text) | accounts : account_id (number) , statement_id (number) , account_details (text) | projects : project_details (text) , project_id (number) | documents : project_id (number) , document_name (text) | 0.818182 |
cre_Docs_and_Epenses | Give the details of the project with the document name 'King Book'. | ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_budget_codes : budget_type_code (text) , budget_type_description (text) | projects : project_id (number) , project_details (text) | documents : document_id (number) , document_type_code (text) , project_id (number) , document_date (time) , document_name (text) , document_description (text) , other_details (text) | statements : statement_id (number) , statement_details (text) | documents_with_expenses : document_id (number) , budget_type_code (text) , document_details (text) | accounts : account_id (number) , statement_id (number) , account_details (text) | projects : project_details (text) , project_id (number) | documents : project_id (number) , document_name (text) | 0.818182 |
cre_Docs_and_Epenses | How many budget types do we have? | ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_budget_codes : budget_type_code (text) , budget_type_description (text) | projects : project_id (number) , project_details (text) | documents : document_id (number) , document_type_code (text) , project_id (number) , document_date (time) , document_name (text) , document_description (text) , other_details (text) | statements : statement_id (number) , statement_details (text) | documents_with_expenses : document_id (number) , budget_type_code (text) , document_details (text) | accounts : account_id (number) , statement_id (number) , account_details (text) | ref_budget_codes : budget_type_code (text) | 0.954545 |
cre_Docs_and_Epenses | Count the number of budget codes. | ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_budget_codes : budget_type_code (text) , budget_type_description (text) | projects : project_id (number) , project_details (text) | documents : document_id (number) , document_type_code (text) , project_id (number) , document_date (time) , document_name (text) , document_description (text) , other_details (text) | statements : statement_id (number) , statement_details (text) | documents_with_expenses : document_id (number) , budget_type_code (text) , document_details (text) | accounts : account_id (number) , statement_id (number) , account_details (text) | ref_budget_codes : budget_type_code (text) | 0.954545 |
cre_Docs_and_Epenses | List all budget type codes and descriptions. | ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_budget_codes : budget_type_code (text) , budget_type_description (text) | projects : project_id (number) , project_details (text) | documents : document_id (number) , document_type_code (text) , project_id (number) , document_date (time) , document_name (text) , document_description (text) , other_details (text) | statements : statement_id (number) , statement_details (text) | documents_with_expenses : document_id (number) , budget_type_code (text) , document_details (text) | accounts : account_id (number) , statement_id (number) , account_details (text) | ref_budget_codes : budget_type_code (text) , budget_type_description (text) | 0.909091 |
cre_Docs_and_Epenses | What are the type codes and descriptions of each budget type? | ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_budget_codes : budget_type_code (text) , budget_type_description (text) | projects : project_id (number) , project_details (text) | documents : document_id (number) , document_type_code (text) , project_id (number) , document_date (time) , document_name (text) , document_description (text) , other_details (text) | statements : statement_id (number) , statement_details (text) | documents_with_expenses : document_id (number) , budget_type_code (text) , document_details (text) | accounts : account_id (number) , statement_id (number) , account_details (text) | ref_budget_codes : budget_type_code (text) , budget_type_description (text) | 0.909091 |
cre_Docs_and_Epenses | What is the description for the budget type with code ORG? | ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_budget_codes : budget_type_code (text) , budget_type_description (text) | projects : project_id (number) , project_details (text) | documents : document_id (number) , document_type_code (text) , project_id (number) , document_date (time) , document_name (text) , document_description (text) , other_details (text) | statements : statement_id (number) , statement_details (text) | documents_with_expenses : document_id (number) , budget_type_code (text) , document_details (text) | accounts : account_id (number) , statement_id (number) , account_details (text) | ref_budget_codes : budget_type_description (text) , budget_type_code (text) | 0.909091 |
cre_Docs_and_Epenses | Return the description of the budget type that has the code ORG. | ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_budget_codes : budget_type_code (text) , budget_type_description (text) | projects : project_id (number) , project_details (text) | documents : document_id (number) , document_type_code (text) , project_id (number) , document_date (time) , document_name (text) , document_description (text) , other_details (text) | statements : statement_id (number) , statement_details (text) | documents_with_expenses : document_id (number) , budget_type_code (text) , document_details (text) | accounts : account_id (number) , statement_id (number) , account_details (text) | ref_budget_codes : budget_type_description (text) , budget_type_code (text) | 0.909091 |
cre_Docs_and_Epenses | How many documents have expenses? | ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_budget_codes : budget_type_code (text) , budget_type_description (text) | projects : project_id (number) , project_details (text) | documents : document_id (number) , document_type_code (text) , project_id (number) , document_date (time) , document_name (text) , document_description (text) , other_details (text) | statements : statement_id (number) , statement_details (text) | documents_with_expenses : document_id (number) , budget_type_code (text) , document_details (text) | accounts : account_id (number) , statement_id (number) , account_details (text) | documents_with_expenses : document_id (number) | 0.954545 |
cre_Docs_and_Epenses | Count the number of documents with expenses. | ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_budget_codes : budget_type_code (text) , budget_type_description (text) | projects : project_id (number) , project_details (text) | documents : document_id (number) , document_type_code (text) , project_id (number) , document_date (time) , document_name (text) , document_description (text) , other_details (text) | statements : statement_id (number) , statement_details (text) | documents_with_expenses : document_id (number) , budget_type_code (text) , document_details (text) | accounts : account_id (number) , statement_id (number) , account_details (text) | documents_with_expenses : document_id (number) | 0.954545 |
cre_Docs_and_Epenses | What are the document ids for the budget type code 'SF'? | ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_budget_codes : budget_type_code (text) , budget_type_description (text) | projects : project_id (number) , project_details (text) | documents : document_id (number) , document_type_code (text) , project_id (number) , document_date (time) , document_name (text) , document_description (text) , other_details (text) | statements : statement_id (number) , statement_details (text) | documents_with_expenses : document_id (number) , budget_type_code (text) , document_details (text) | accounts : account_id (number) , statement_id (number) , account_details (text) | documents_with_expenses : document_id (number) , budget_type_code (text) | 0.909091 |
cre_Docs_and_Epenses | Give the ids of documents with expenses that have the budget code 'SF'. | ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_budget_codes : budget_type_code (text) , budget_type_description (text) | projects : project_id (number) , project_details (text) | documents : document_id (number) , document_type_code (text) , project_id (number) , document_date (time) , document_name (text) , document_description (text) , other_details (text) | statements : statement_id (number) , statement_details (text) | documents_with_expenses : document_id (number) , budget_type_code (text) , document_details (text) | accounts : account_id (number) , statement_id (number) , account_details (text) | documents_with_expenses : document_id (number) , budget_type_code (text) | 0.909091 |
cre_Docs_and_Epenses | Show the budget type code and description and the corresponding document id. | ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_budget_codes : budget_type_code (text) , budget_type_description (text) | projects : project_id (number) , project_details (text) | documents : document_id (number) , document_type_code (text) , project_id (number) , document_date (time) , document_name (text) , document_description (text) , other_details (text) | statements : statement_id (number) , statement_details (text) | documents_with_expenses : document_id (number) , budget_type_code (text) , document_details (text) | accounts : account_id (number) , statement_id (number) , account_details (text) | ref_budget_codes : budget_type_code (text) , budget_type_description (text) | documents_with_expenses : budget_type_code (text) , document_id (number) | 0.818182 |
cre_Docs_and_Epenses | Return the budget type codes, budget type descriptions and document ids for documents with expenses. | ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_budget_codes : budget_type_code (text) , budget_type_description (text) | projects : project_id (number) , project_details (text) | documents : document_id (number) , document_type_code (text) , project_id (number) , document_date (time) , document_name (text) , document_description (text) , other_details (text) | statements : statement_id (number) , statement_details (text) | documents_with_expenses : document_id (number) , budget_type_code (text) , document_details (text) | accounts : account_id (number) , statement_id (number) , account_details (text) | ref_budget_codes : budget_type_code (text) , budget_type_description (text) | documents_with_expenses : budget_type_code (text) , document_id (number) | 0.818182 |
cre_Docs_and_Epenses | Show ids for all documents with budget types described as 'Government'. | ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_budget_codes : budget_type_code (text) , budget_type_description (text) | projects : project_id (number) , project_details (text) | documents : document_id (number) , document_type_code (text) , project_id (number) , document_date (time) , document_name (text) , document_description (text) , other_details (text) | statements : statement_id (number) , statement_details (text) | documents_with_expenses : document_id (number) , budget_type_code (text) , document_details (text) | accounts : account_id (number) , statement_id (number) , account_details (text) | documents_with_expenses : document_id (number) , budget_type_code (text) | ref_budget_codes : budget_type_code (text) , budget_type_description (text) | 0.818182 |
cre_Docs_and_Epenses | Give the ids for documents that have the budget description 'Government'. | ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_budget_codes : budget_type_code (text) , budget_type_description (text) | projects : project_id (number) , project_details (text) | documents : document_id (number) , document_type_code (text) , project_id (number) , document_date (time) , document_name (text) , document_description (text) , other_details (text) | statements : statement_id (number) , statement_details (text) | documents_with_expenses : document_id (number) , budget_type_code (text) , document_details (text) | accounts : account_id (number) , statement_id (number) , account_details (text) | documents_with_expenses : document_id (number) , budget_type_code (text) | ref_budget_codes : budget_type_code (text) , budget_type_description (text) | 0.818182 |
cre_Docs_and_Epenses | Show budget type codes and the number of documents in each budget type. | ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_budget_codes : budget_type_code (text) , budget_type_description (text) | projects : project_id (number) , project_details (text) | documents : document_id (number) , document_type_code (text) , project_id (number) , document_date (time) , document_name (text) , document_description (text) , other_details (text) | statements : statement_id (number) , statement_details (text) | documents_with_expenses : document_id (number) , budget_type_code (text) , document_details (text) | accounts : account_id (number) , statement_id (number) , account_details (text) | documents_with_expenses : budget_type_code (text) , document_id (number) | 0.909091 |
cre_Docs_and_Epenses | What are the different budget type codes, and how many documents are there for each? | ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_budget_codes : budget_type_code (text) , budget_type_description (text) | projects : project_id (number) , project_details (text) | documents : document_id (number) , document_type_code (text) , project_id (number) , document_date (time) , document_name (text) , document_description (text) , other_details (text) | statements : statement_id (number) , statement_details (text) | documents_with_expenses : document_id (number) , budget_type_code (text) , document_details (text) | accounts : account_id (number) , statement_id (number) , account_details (text) | documents_with_expenses : budget_type_code (text) , document_id (number) | 0.909091 |
cre_Docs_and_Epenses | What is the budget type code with most number of documents. | ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_budget_codes : budget_type_code (text) , budget_type_description (text) | projects : project_id (number) , project_details (text) | documents : document_id (number) , document_type_code (text) , project_id (number) , document_date (time) , document_name (text) , document_description (text) , other_details (text) | statements : statement_id (number) , statement_details (text) | documents_with_expenses : document_id (number) , budget_type_code (text) , document_details (text) | accounts : account_id (number) , statement_id (number) , account_details (text) | documents_with_expenses : budget_type_code (text) , document_id (number) | 0.909091 |
cre_Docs_and_Epenses | Give the budget type code that is most common among documents with expenses. | ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_budget_codes : budget_type_code (text) , budget_type_description (text) | projects : project_id (number) , project_details (text) | documents : document_id (number) , document_type_code (text) , project_id (number) , document_date (time) , document_name (text) , document_description (text) , other_details (text) | statements : statement_id (number) , statement_details (text) | documents_with_expenses : document_id (number) , budget_type_code (text) , document_details (text) | accounts : account_id (number) , statement_id (number) , account_details (text) | documents_with_expenses : budget_type_code (text) , document_id (number) | 0.909091 |
cre_Docs_and_Epenses | What are the ids of documents which don't have expense budgets? | ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_budget_codes : budget_type_code (text) , budget_type_description (text) | projects : project_id (number) , project_details (text) | documents : document_id (number) , document_type_code (text) , project_id (number) , document_date (time) , document_name (text) , document_description (text) , other_details (text) | statements : statement_id (number) , statement_details (text) | documents_with_expenses : document_id (number) , budget_type_code (text) , document_details (text) | accounts : account_id (number) , statement_id (number) , account_details (text) | documents : document_id (number) | documents_with_expenses : document_id (number) | 0.909091 |
cre_Docs_and_Epenses | Return the ids of documents that do not have expenses. | ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_budget_codes : budget_type_code (text) , budget_type_description (text) | projects : project_id (number) , project_details (text) | documents : document_id (number) , document_type_code (text) , project_id (number) , document_date (time) , document_name (text) , document_description (text) , other_details (text) | statements : statement_id (number) , statement_details (text) | documents_with_expenses : document_id (number) , budget_type_code (text) , document_details (text) | accounts : account_id (number) , statement_id (number) , account_details (text) | documents : document_id (number) | documents_with_expenses : document_id (number) | 0.909091 |
cre_Docs_and_Epenses | Show ids for all documents in type CV without expense budgets. | ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_budget_codes : budget_type_code (text) , budget_type_description (text) | projects : project_id (number) , project_details (text) | documents : document_id (number) , document_type_code (text) , project_id (number) , document_date (time) , document_name (text) , document_description (text) , other_details (text) | statements : statement_id (number) , statement_details (text) | documents_with_expenses : document_id (number) , budget_type_code (text) , document_details (text) | accounts : account_id (number) , statement_id (number) , account_details (text) | documents : document_id (number) , document_type_code (text) | documents_with_expenses : document_id (number) | 0.863636 |
cre_Docs_and_Epenses | What are the ids of documents with the type code CV that do not have expenses. | ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_budget_codes : budget_type_code (text) , budget_type_description (text) | projects : project_id (number) , project_details (text) | documents : document_id (number) , document_type_code (text) , project_id (number) , document_date (time) , document_name (text) , document_description (text) , other_details (text) | statements : statement_id (number) , statement_details (text) | documents_with_expenses : document_id (number) , budget_type_code (text) , document_details (text) | accounts : account_id (number) , statement_id (number) , account_details (text) | documents : document_id (number) , document_type_code (text) | documents_with_expenses : document_id (number) | 0.863636 |
cre_Docs_and_Epenses | What are the ids of documents with letter 's' in the name with any expense budgets. | ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_budget_codes : budget_type_code (text) , budget_type_description (text) | projects : project_id (number) , project_details (text) | documents : document_id (number) , document_type_code (text) , project_id (number) , document_date (time) , document_name (text) , document_description (text) , other_details (text) | statements : statement_id (number) , statement_details (text) | documents_with_expenses : document_id (number) , budget_type_code (text) , document_details (text) | accounts : account_id (number) , statement_id (number) , account_details (text) | documents : document_id (number) , document_name (text) | documents_with_expenses : document_id (number) | 0.863636 |
cre_Docs_and_Epenses | Give the ids of documents that have expenses and contain the letter s in their names. | ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_budget_codes : budget_type_code (text) , budget_type_description (text) | projects : project_id (number) , project_details (text) | documents : document_id (number) , document_type_code (text) , project_id (number) , document_date (time) , document_name (text) , document_description (text) , other_details (text) | statements : statement_id (number) , statement_details (text) | documents_with_expenses : document_id (number) , budget_type_code (text) , document_details (text) | accounts : account_id (number) , statement_id (number) , account_details (text) | documents : document_id (number) , document_name (text) | documents_with_expenses : document_id (number) | 0.863636 |
cre_Docs_and_Epenses | How many documents do not have any expense? | ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_budget_codes : budget_type_code (text) , budget_type_description (text) | projects : project_id (number) , project_details (text) | documents : document_id (number) , document_type_code (text) , project_id (number) , document_date (time) , document_name (text) , document_description (text) , other_details (text) | statements : statement_id (number) , statement_details (text) | documents_with_expenses : document_id (number) , budget_type_code (text) , document_details (text) | accounts : account_id (number) , statement_id (number) , account_details (text) | documents : document_id (number) | documents_with_expenses : document_id (number) | 0.909091 |
cre_Docs_and_Epenses | Count the number of documents that do not have expenses. | ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_budget_codes : budget_type_code (text) , budget_type_description (text) | projects : project_id (number) , project_details (text) | documents : document_id (number) , document_type_code (text) , project_id (number) , document_date (time) , document_name (text) , document_description (text) , other_details (text) | statements : statement_id (number) , statement_details (text) | documents_with_expenses : document_id (number) , budget_type_code (text) , document_details (text) | accounts : account_id (number) , statement_id (number) , account_details (text) | documents : document_id (number) | documents_with_expenses : document_id (number) | 0.909091 |
cre_Docs_and_Epenses | What are the dates for the documents with both 'GV' type and 'SF' type expenses? | ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_budget_codes : budget_type_code (text) , budget_type_description (text) | projects : project_id (number) , project_details (text) | documents : document_id (number) , document_type_code (text) , project_id (number) , document_date (time) , document_name (text) , document_description (text) , other_details (text) | statements : statement_id (number) , statement_details (text) | documents_with_expenses : document_id (number) , budget_type_code (text) , document_details (text) | accounts : account_id (number) , statement_id (number) , account_details (text) | documents : document_date (time) , document_id (number) | documents_with_expenses : document_id (number) , budget_type_code (text) | 0.818182 |
cre_Docs_and_Epenses | Give the dates of creation for documents that have both budget type codes 'GV' and 'SF'. | ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_budget_codes : budget_type_code (text) , budget_type_description (text) | projects : project_id (number) , project_details (text) | documents : document_id (number) , document_type_code (text) , project_id (number) , document_date (time) , document_name (text) , document_description (text) , other_details (text) | statements : statement_id (number) , statement_details (text) | documents_with_expenses : document_id (number) , budget_type_code (text) , document_details (text) | accounts : account_id (number) , statement_id (number) , account_details (text) | documents : document_date (time) , document_id (number) | documents_with_expenses : document_id (number) , budget_type_code (text) | 0.818182 |
cre_Docs_and_Epenses | What are the account details with the largest value or with value having char '5' in it? | ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_budget_codes : budget_type_code (text) , budget_type_description (text) | projects : project_id (number) , project_details (text) | documents : document_id (number) , document_type_code (text) , project_id (number) , document_date (time) , document_name (text) , document_description (text) , other_details (text) | statements : statement_id (number) , statement_details (text) | documents_with_expenses : document_id (number) , budget_type_code (text) , document_details (text) | accounts : account_id (number) , statement_id (number) , account_details (text) | accounts : account_details (text) | 0.954545 |
cre_Docs_and_Epenses | Return the account details with the greatest value, as well as those that include the character 5. | ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_budget_codes : budget_type_code (text) , budget_type_description (text) | projects : project_id (number) , project_details (text) | documents : document_id (number) , document_type_code (text) , project_id (number) , document_date (time) , document_name (text) , document_description (text) , other_details (text) | statements : statement_id (number) , statement_details (text) | documents_with_expenses : document_id (number) , budget_type_code (text) , document_details (text) | accounts : account_id (number) , statement_id (number) , account_details (text) | accounts : account_details (text) | 0.954545 |
scientist_1 | Find the total number of scientists. | scientists : ssn (number) , name (text) | projects : code (text) , name (text) , hours (number) | assignedto : scientist (number) , project (text) | scientists : ssn (number) | 0.857143 |
scientist_1 | How many scientists are there? | scientists : ssn (number) , name (text) | projects : code (text) , name (text) , hours (number) | assignedto : scientist (number) , project (text) | scientists : ssn (number) | 0.857143 |
scientist_1 | Find the total hours of all projects. | scientists : ssn (number) , name (text) | projects : code (text) , name (text) , hours (number) | assignedto : scientist (number) , project (text) | projects : hours (number) | 0.857143 |
scientist_1 | What is the total number of hours for all projects? | scientists : ssn (number) , name (text) | projects : code (text) , name (text) , hours (number) | assignedto : scientist (number) , project (text) | projects : hours (number) | 0.857143 |
scientist_1 | How many different scientists are assigned to any project? | scientists : ssn (number) , name (text) | projects : code (text) , name (text) , hours (number) | assignedto : scientist (number) , project (text) | assignedto : scientist (number) | 0.857143 |
scientist_1 | Count the number of different scientists assigned to any project. | scientists : ssn (number) , name (text) | projects : code (text) , name (text) , hours (number) | assignedto : scientist (number) , project (text) | assignedto : scientist (number) | 0.857143 |
scientist_1 | Find the number of distinct projects. | scientists : ssn (number) , name (text) | projects : code (text) , name (text) , hours (number) | assignedto : scientist (number) , project (text) | projects : name (text) | 0.857143 |
scientist_1 | How many different projects are there? | scientists : ssn (number) , name (text) | projects : code (text) , name (text) , hours (number) | assignedto : scientist (number) , project (text) | projects : name (text) | 0.857143 |
scientist_1 | Find the average hours of all projects. | scientists : ssn (number) , name (text) | projects : code (text) , name (text) , hours (number) | assignedto : scientist (number) , project (text) | projects : hours (number) | 0.857143 |
scientist_1 | What is the average hours across all projects? | scientists : ssn (number) , name (text) | projects : code (text) , name (text) , hours (number) | assignedto : scientist (number) , project (text) | projects : hours (number) | 0.857143 |
scientist_1 | Find the name of project that continues for the longest time. | scientists : ssn (number) , name (text) | projects : code (text) , name (text) , hours (number) | assignedto : scientist (number) , project (text) | projects : name (text) , hours (number) | 0.714286 |
scientist_1 | What is the name of the project with the most hours? | scientists : ssn (number) , name (text) | projects : code (text) , name (text) , hours (number) | assignedto : scientist (number) , project (text) | projects : name (text) , hours (number) | 0.714286 |
scientist_1 | List the name of all projects that are operated longer than the average working hours of all projects. | scientists : ssn (number) , name (text) | projects : code (text) , name (text) , hours (number) | assignedto : scientist (number) , project (text) | projects : name (text) , hours (number) | 0.714286 |
scientist_1 | What are the names of projects that have taken longer than the average number of hours for all projects? | scientists : ssn (number) , name (text) | projects : code (text) , name (text) , hours (number) | assignedto : scientist (number) , project (text) | projects : name (text) , hours (number) | 0.714286 |
scientist_1 | Find the name and hours of project that has the most number of scientists. | scientists : ssn (number) , name (text) | projects : code (text) , name (text) , hours (number) | assignedto : scientist (number) , project (text) | projects : name (text) , hours (number) , code (text) | assignedto : project (text) , scientist (number) | 0.285714 |
scientist_1 | What is the name and hours for the project which has the most scientists assigned to it? | scientists : ssn (number) , name (text) | projects : code (text) , name (text) , hours (number) | assignedto : scientist (number) , project (text) | projects : name (text) , hours (number) , code (text) | assignedto : project (text) , scientist (number) | 0.285714 |
scientist_1 | Find the name of the project for which a scientist whose name contains ‘Smith’ is assigned to. | scientists : ssn (number) , name (text) | projects : code (text) , name (text) , hours (number) | assignedto : scientist (number) , project (text) | scientists : name (text) , ssn (number) | projects : name (text) , code (text) | assignedto : project (text) , scientist (number) | 0.142857 |
scientist_1 | What is the name of the project that has a scientist assigned to it whose name contains 'Smith'? | scientists : ssn (number) , name (text) | projects : code (text) , name (text) , hours (number) | assignedto : scientist (number) , project (text) | scientists : name (text) , ssn (number) | projects : name (text) , code (text) | assignedto : project (text) , scientist (number) | 0.142857 |
scientist_1 | Find the total hours of the projects that scientists named Michael Rogers or Carol Smith are assigned to. | scientists : ssn (number) , name (text) | projects : code (text) , name (text) , hours (number) | assignedto : scientist (number) , project (text) | projects : hours (number) , code (text) , name (text) | assignedto : project (text) , scientist (number) | scientists : ssn (number) , name (text) | 0 |
scientist_1 | What is the sum of hours for projects that scientists with the name Michael Rogers or Carol Smith are assigned to? | scientists : ssn (number) , name (text) | projects : code (text) , name (text) , hours (number) | assignedto : scientist (number) , project (text) | projects : hours (number) , code (text) , name (text) | assignedto : project (text) , scientist (number) | scientists : ssn (number) , name (text) | 0 |
scientist_1 | Find the name of projects that require between 100 and 300 hours of work. | scientists : ssn (number) , name (text) | projects : code (text) , name (text) , hours (number) | assignedto : scientist (number) , project (text) | projects : name (text) , hours (number) | 0.714286 |
scientist_1 | What are the names of projects that require between 100 and 300 hours? | scientists : ssn (number) , name (text) | projects : code (text) , name (text) , hours (number) | assignedto : scientist (number) , project (text) | projects : name (text) , hours (number) | 0.714286 |
scientist_1 | Find the name of the scientist who worked on both a project named 'Matter of Time' and a project named 'A Puzzling Parallax'. | scientists : ssn (number) , name (text) | projects : code (text) , name (text) , hours (number) | assignedto : scientist (number) , project (text) | scientists : name (text) , ssn (number) | projects : name (text) , code (text) | assignedto : project (text) , scientist (number) | 0.142857 |
scientist_1 | What are the names of any scientists who worked on projects named 'Matter of Time' and 'A Puzzling Pattern'? | scientists : ssn (number) , name (text) | projects : code (text) , name (text) , hours (number) | assignedto : scientist (number) , project (text) | scientists : name (text) , ssn (number) | projects : name (text) , code (text) | assignedto : project (text) , scientist (number) | 0.142857 |
scientist_1 | List the names of all scientists sorted in alphabetical order. | scientists : ssn (number) , name (text) | projects : code (text) , name (text) , hours (number) | assignedto : scientist (number) , project (text) | scientists : name (text) | 0.857143 |
scientist_1 | What are the names of all the scientists in alphabetical order? | scientists : ssn (number) , name (text) | projects : code (text) , name (text) , hours (number) | assignedto : scientist (number) , project (text) | scientists : name (text) | 0.857143 |
scientist_1 | Find the number of scientists involved for each project name. | scientists : ssn (number) , name (text) | projects : code (text) , name (text) , hours (number) | assignedto : scientist (number) , project (text) | projects : name (text) , code (text) | assignedto : project (text) , scientist (number) | 0.428571 |
scientist_1 | What are the naems of all the projects, and how many scientists were assigned to each of them? | scientists : ssn (number) , name (text) | projects : code (text) , name (text) , hours (number) | assignedto : scientist (number) , project (text) | projects : name (text) , code (text) | assignedto : project (text) , scientist (number) | 0.428571 |
scientist_1 | Find the number of scientists involved for the projects that require more than 300 hours. | scientists : ssn (number) , name (text) | projects : code (text) , name (text) , hours (number) | assignedto : scientist (number) , project (text) | projects : name (text) , code (text) , hours (number) | assignedto : project (text) , scientist (number) | 0.285714 |
scientist_1 | What are the names of projects that require more than 300 hours, and how many scientists are assigned to each? | scientists : ssn (number) , name (text) | projects : code (text) , name (text) , hours (number) | assignedto : scientist (number) , project (text) | projects : name (text) , code (text) , hours (number) | assignedto : project (text) , scientist (number) | 0.285714 |
scientist_1 | Find the number of projects which each scientist is working on and scientist's name. | scientists : ssn (number) , name (text) | projects : code (text) , name (text) , hours (number) | assignedto : scientist (number) , project (text) | scientists : name (text) , ssn (number) | assignedto : scientist (number) | 0.571429 |
scientist_1 | What are the names of the scientists, and how many projects are each of them working on? | scientists : ssn (number) , name (text) | projects : code (text) , name (text) , hours (number) | assignedto : scientist (number) , project (text) | scientists : name (text) , ssn (number) | assignedto : scientist (number) | 0.571429 |
scientist_1 | Find the SSN and name of scientists who are assigned to the project with the longest hours. | scientists : ssn (number) , name (text) | projects : code (text) , name (text) , hours (number) | assignedto : scientist (number) , project (text) | scientists : ssn (number) , name (text) | projects : name (text) , code (text) , hours (number) | assignedto : project (text) , scientist (number) | 0 |
scientist_1 | What are the SSN and names of scientists working on the project with the most hours? | scientists : ssn (number) , name (text) | projects : code (text) , name (text) , hours (number) | assignedto : scientist (number) , project (text) | scientists : ssn (number) , name (text) | projects : name (text) , code (text) , hours (number) | assignedto : project (text) , scientist (number) | 0 |
scientist_1 | Find the name of scientists who are assigned to some project. | scientists : ssn (number) , name (text) | projects : code (text) , name (text) , hours (number) | assignedto : scientist (number) , project (text) | scientists : name (text) , ssn (number) | assignedto : scientist (number) | 0.571429 |
scientist_1 | What are the names of scientists who are assigned to any project? | scientists : ssn (number) , name (text) | projects : code (text) , name (text) , hours (number) | assignedto : scientist (number) , project (text) | scientists : name (text) , ssn (number) | assignedto : scientist (number) | 0.571429 |
scientist_1 | Select the project names which are not assigned yet. | scientists : ssn (number) , name (text) | projects : code (text) , name (text) , hours (number) | assignedto : scientist (number) , project (text) | projects : name (text) , code (text) | assignedto : project (text) | 0.571429 |
scientist_1 | What are the names of projects that have not been assigned? | scientists : ssn (number) , name (text) | projects : code (text) , name (text) , hours (number) | assignedto : scientist (number) , project (text) | projects : name (text) , code (text) | assignedto : project (text) | 0.571429 |
scientist_1 | Find the name of scientists who are not assigned to any project. | scientists : ssn (number) , name (text) | projects : code (text) , name (text) , hours (number) | assignedto : scientist (number) , project (text) | scientists : name (text) , ssn (number) | assignedto : scientist (number) | 0.571429 |
scientist_1 | What are the names of scientists who have not been assigned a project? | scientists : ssn (number) , name (text) | projects : code (text) , name (text) , hours (number) | assignedto : scientist (number) , project (text) | scientists : name (text) , ssn (number) | assignedto : scientist (number) | 0.571429 |
scientist_1 | Find the number of scientists who are not assigned to any project. | scientists : ssn (number) , name (text) | projects : code (text) , name (text) , hours (number) | assignedto : scientist (number) , project (text) | scientists : ssn (number) | assignedto : scientist (number) | 0.714286 |
scientist_1 | How many scientists do not have any projects assigned to them? | scientists : ssn (number) , name (text) | projects : code (text) , name (text) , hours (number) | assignedto : scientist (number) , project (text) | scientists : ssn (number) | assignedto : scientist (number) | 0.714286 |
scientist_1 | Find the names of scientists who are not working on the project with the highest hours. | scientists : ssn (number) , name (text) | projects : code (text) , name (text) , hours (number) | assignedto : scientist (number) , project (text) | scientists : name (text) , ssn (number) | projects : name (text) , code (text) , hours (number) | assignedto : project (text) , scientist (number) | 0 |
scientist_1 | What are the names of scientists who are not working on the project with the most hours? | scientists : ssn (number) , name (text) | projects : code (text) , name (text) , hours (number) | assignedto : scientist (number) , project (text) | scientists : name (text) , ssn (number) | projects : name (text) , code (text) , hours (number) | assignedto : project (text) , scientist (number) | 0 |
scientist_1 | List all the scientists' names, their projects' names, and the hours worked by that scientist on each project, in alphabetical order of project name, and then scientist name. | scientists : ssn (number) , name (text) | projects : code (text) , name (text) , hours (number) | assignedto : scientist (number) , project (text) | scientists : name (text) , ssn (number) | projects : name (text) , hours (number) , code (text) | assignedto : scientist (number) , project (text) | 0 |
scientist_1 | What are the names of each scientist, the names of the projects that they work on, and the hours for each of those projects, listed in alphabetical order by project name, then scientist name. | scientists : ssn (number) , name (text) | projects : code (text) , name (text) , hours (number) | assignedto : scientist (number) , project (text) | scientists : name (text) , ssn (number) | projects : name (text) , hours (number) , code (text) | assignedto : scientist (number) , project (text) | 0 |