Concept explainers
Explanation of Solution
a.
- Mention a query as a manager of Denver plant to know the amount of time employees are spending on special project:
To know the amount of time employees are spending on special project can be answered directly by the Denver Sum query which is accurate, relevant and sufficient. The answer to amount of time employees are spending on special project can also be answered by the Plant Sum query for Denver and the other two plants.
- Mention a query as a manager of Reno plant to find the amount of time employees are spending on special projects:
There is not a single query that answers the amount of time employees are spending on special project directly; however, Plant sum query can answer this question. Plant sum query is accurate and sufficient but adds extra information as it calculates the total hours for Denver and Chicago plants also.
- Mention a query to know how much time employees are spending on Quota Computation project:
The total amount of time employees are working on Quota computation project can be calculated using Sorted Query 1. These query lists the total hours worked by employees in quota computation project in Chicago project which can be manually added to find the total hours spend on quota computation project by Chicago plant employees. Here the data is sufficient but needs manipulation to produce relevant result and hence accuracy is questionable. The data is sufficient as there is information in the query that is not really needed.
- Mention a query to find the number of hours worked by employees in the quota computation project in all three plants:
To find the number of hours worked by employees in the quota computation project in all three plants cannot be answered directly by any query...
Explanation of Solution
b.
Mention the conclusion that can be drawn by this exercise:
It can be said that one can create queries to answer questions quickly and easily but queries need to be formulated ...
Explanation of Solution
c.
Mention the advantages and disadvantages of databases as compared to spreadsheet:
- It can be inferred that queries in databases are easy to use and can be constructed to produce specific answers...
Want to see the full answer?
Check out a sample textbook solutionChapter AE Solutions
EBK USING MIS
- Create the Database Schema, the Normalize table, and the Final ERD StudentID Name Age Course CourseName Room ProfessorID Professor 1 Michael |17 СОЕО01 Computer Fundamentals O01 201201 Nath COEO02 Computer Programming 020 201202 Butch COEO03 Computer Design 300 201201 Nath 2 Jane 18 СОЕО01 Computer Fundamentals 001 201201 Nath COEO02 Computer Programming 020 201202 Butch 3 Max |17 СОЕО01 Computer Fundamentals 001 201201 Nath COEO03 Computer Design 300 201201 Nath Step by step procedure of Normalizationarrow_forwardA concise explanation of the many reasons why the use of tables in database design is a good idea could be of some use. Would you mind providing a brief remark on the subject of NULL?arrow_forwardUsing MySQL, design a 2 table database. The data types of columns should be set properly tblMembers The tblMembers will be used to store the details of the Gym Members MemberID, Name, Surname, DateOfBirth, ID,Contact, DateJoined MemberType (Annual: R200/year, Monthly: R50/month) The tblPayments table will be used to keep track of payments made by Members. PaymentID, Date, Amount. The tblPayments should be related to tblMembers accordingly Using Java and the jdbc API , create a startup frame that will be used navigate the application. The frame should have 3 buttons. 1.4 The first button will open aa frame that can be used to add, update and delete Gyjm Members. The second button will open a frame that will be used to collect the payments made by students. 1.5 The third button will display a frame that calculates the current age and the balances, and displays a summary report in a table, as follows for an example: Order # is the sequence number of the member in tblMembers…arrow_forward
- Joan Yancey has been asked to create a database for her company, Yancey Shipping. The database is to track employees and the special projects to which the employees may be assigned. A special project can have between 2 and 5 employees assigned to it. She has determined that she needs the following tables and fields in her database:(Table 1) Employee Information:Fields - Last Name, First Name, Street Address, City, State, Zip Code, Social Security Number, Phone Number, Hourly Pay Rate, and Project Number (Table 2) Project Information:Fields - Project Number, Project Name, Project Leader, Project Location, Total Hours, and Actual Completion Date What data type should Joan Yancey use for the Actual Completion Date field and why?arrow_forwardFor table EP, the attribute is a foreign key referencing target table For table EP, the attribute is a foreign key referencing target table For table ER the attribute is a foreign key referencing target table For table ER the attribute is a foreign key referencing target tablearrow_forwardIn the Testa EV database described in the previous question, fill in the blanks in the following MySQL statement to list (in this order) all the part numbers of components of 'EV Dashboard' (with Part_No=1) and their quantities; sort the results in ascending order of quantity of components (i.e., components with small quantities are listed first). (Please ensure correctness in the spelling of all names and commands. Do not enter unnecessary symbols such as spaces or commas)arrow_forward
- 10. An EMPLOYEES table was added to the JustLee Books database to track employeeinformation. Display a list of each employee’s name, job title, and manager’s name. Usecolumn aliases to clearly identify employee and manager name values. Include allemployees in the list and sort by manager name.arrow_forwardThe manager of a consulting firm has asked you to evaluate a database that contains the table structure shown in the table below.Table: Sample CLIENT records Attribute name Sample value Sample value Sample value CLIENT_NUM 298 289 289 CLIENT_NAME Marianne R. Brown James D. Smith James D. Smith CLIENT_REGION Midwest Southeast Southeast CONTRACT_DATE 10-Feb-2018 15-Feb-2018 12-Mar-2018 CONTRACT_NUMBER 5841 5842 5843 CONTRACT_AMOUNT R22,985,00.00 R1,670,300.00 R11,250,000.00 CONSULT_CLASS_1 Database administration Internet services Database design CONSULT_CLASS_2 Web applications Database administration CONSULT_CLASS_3 Network installation CONSULT_CLASS_4 CONSULTANT_NUM_1 29 34 25 CONSULTANT_NAME_1 Rachel G. Carson Gerald K. Ricardo Angela M. Jamison CONSULTANT_REGION_1 Midwest Southeast Southeast CONSULTANT_NUM_2 56 38 34 CONSULTANT_NAME_2 Karl M. Spenser Anne T. Zuma Gerald K. Jele CONSULTANT_REGION_2 Midwest Southeast Southeast CONSULTANT_NUM_3 22 45 CONSULTANT_NAME_3 Julian H.…arrow_forwardIn the Testa EV database design described in the previous question, please complete a field specifications form for the field 'Model_Cost' of the table 'Model_T'. The field records the cost of producing a specific EV model. Because its data come from the cost data of specific parts used to build the model, its value can be entered later and editing is allowed (null is allowed). The field value is required. Only decimal numeric data are supported for the entered value. The field can store a maximum of 10 digits (including 2 decimal places). The user of the database (data analyst) is responsible for entering and maintaining the data. No specific range of values is specified for this field. You should enter 'N/A' (or leave it unchecked) for elements that are not applicable.arrow_forward
- Based on the picture, create the ERD for this database. Then explain if the tables exhibit referential or entity integrity? Finally, Identify the TRUCK table’s candidate keysarrow_forwardSUBJECT: DATABASE MANAGEMENT SYSTEM NOTE: All these tasks must be done in Oracle Database 10g Enterprise Edition Display the Employee name and designation in one column. Display all records from table whose name is Smith using all uppercases in where clause. Display all records from table whose name is Smith using first letter captializaed in where clause. Display all records from table whose name is Smith using all lowercases in where clause. Display all records from table whose name is Smith using lower and upper cases both. i.e. SMITH, smith both should be acceptable. Show the result of those employees whose name length exceeds 8. Display ename, salary and concatenated result of deptno and empno from table EMP where salary is less than 2500 or job is equal to MANAGER. Display first 3 characters of ename, deptno and job from table EMP where second character of ename is ‘A’ and deptno is 30 or job is SALESMAN. Right Append dollar sign in Employee table to make salary 8 digit value.…arrow_forwardDesign a survey form of your own. Fill it out as it might have been completed during the database design for Henry Books. For any questions you have too little information to answer, make a reasonable guess. (Ray Henry, the owner of a bookstore chain named Henry Books, gathers and organizes information about branches, publishers, authors, and books. Each local branch of the bookstore has a number that uniquely identifies the branch. In addition, Ray tracks the branch’s name, location, and number of employees. Each publisher has a code that uniquely identifies the publisher. In addition, Ray tracks the publisher’s name and city. The only user of the Book database is Ray, but you do not want to treat the entire project as a single user view. Ray has provided you with all the reports the system must produce, and you will treat each report as a user view. Ray has given you the following requirements: User View 1 Requirements: For each publisher, list the publisher code, publisher name, and…arrow_forward
- A Guide to SQLComputer ScienceISBN:9781111527273Author:Philip J. PrattPublisher:Course Technology PtrNp Ms Office 365/Excel 2016 I NtermedComputer ScienceISBN:9781337508841Author:CareyPublisher:Cengage
- Database Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781305627482Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781285196145Author:Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos CoronelPublisher:Cengage Learning