Use the Dependent table in the Company database to answer the following questions: 1. List the...
Fantastic news! We've Found the answer you've been seeking!
Transcribed Image Text:
Use the Dependent table in the Company database to answer the following questions: 1. List the Employee SSN (ESSN) and number of dependents for each employee. 2. List the Employee SSN (ESSN) and number of dependents for each employee but only list employees who have at least two dependents. 3. List the Employee SSN (ESSN), Sex, and number of dependents of that sex for each employee. Sort your list by Employee SSN. Use the Employee table in the Company database to answer the following questions: 4. What is the number of employees, number of unique salary values, total salary, and average salary for all employees? Use appropriate column headings for all calculated values. 5. What is the number of employees, number of unique salary values, total salary, and average salary broken down by Department? Only show departments that have at least two employees. Company Database Data Employee SSN 888665555 James E 333445555 Franklin T Wong FNAME M LNAME BDATE ADDRESS Sex SALARY SUPERSSN DNUMBER Borg 10-NOV-92 450 Stone, HoUston, TX M 55000 08-DEC-70 987654321 Jennifer S Wallace 20-JUN-86 987987987 George W Bush 29-MAR-84 638 Voss, Houston, TX 40000 888665555 291 Berry, Bellaire, TX 980 Dallas, Houston, TX 09 JAN-80 731 Fondren, Houston, TX M 3321 Castle, Spring. TX 43000 888665555 4. 25000 987654321 4. 123456789 999887777 666884444 Ramesh K Narayan 15-SEP-77 John Smith 30000 333445555 Alicia J Zelaya 19-JUL-83 25000 987654321 4 975 Fire Oak, Humble, TX 5631 Rice, Houston, TX 38000 333445555 453453453 Joyce A English 31-JUL-87 25000 333445555 5. Department Dept Locations DNUMBER DLOCATION 1 Houston 4 Stafford 5 Bellaire 5 Sugarland 5 Houston DNUMBER DNAME MGRSSN 333445555 22-MAY-2003 MGRSTARTDATE 5 Research 4 Administration 987654321 01-JAN-2006 1 Headquarters 888665555 19 JUN-96 Project PNUMBER PNAME PLOCATION DNUMBER Bellaire Sugarland Houston 10 Computerization Stafford 20 Reorganization Houston Stafford 1 ProductX 2 ProjectY 3 Productz Works On SSN 123456789 123456789 PNUMBER HOURS 32.5 7.5 2 30 Newbenefits 666884444 3 40 453453453 20 453453453 2 20 Dependent DEPENDENT NAME Sex 333445555 2 10 ESSN 333445555 Alice 333445555 Theodore 333445555 Joy 987654321 Abner 123456789 Michael 123456789 Alice 123456789 Elzabeth BDATE RELATIONSHIP 333445555 10 05-APR-2001 Daughter M 25-OCT-2014 Son 03-MAY-1983 Spouse M 28-FEB-1987 Spouse M 01-JAN-2013 Son F 31-DEC-2013 Daughter F 05-MAY-1992 Spouse 333445555 333445555 999887777 999887777 10 10 20 10 F 30 10 30 10 987987987 987987987 987654321 10 35 30 30 20 20 987654321 15 Null 888665555 20 Use the Dependent table in the Company database to answer the following questions: 1. List the Employee SSN (ESSN) and number of dependents for each employee. 2. List the Employee SSN (ESSN) and number of dependents for each employee but only list employees who have at least two dependents. 3. List the Employee SSN (ESSN), Sex, and number of dependents of that sex for each employee. Sort your list by Employee SSN. Use the Employee table in the Company database to answer the following questions: 4. What is the number of employees, number of unique salary values, total salary, and average salary for all employees? Use appropriate column headings for all calculated values. 5. What is the number of employees, number of unique salary values, total salary, and average salary broken down by Department? Only show departments that have at least two employees. Company Database Data Employee SSN 888665555 James E 333445555 Franklin T Wong FNAME M LNAME BDATE ADDRESS Sex SALARY SUPERSSN DNUMBER Borg 10-NOV-92 450 Stone, HoUston, TX M 55000 08-DEC-70 987654321 Jennifer S Wallace 20-JUN-86 987987987 George W Bush 29-MAR-84 638 Voss, Houston, TX 40000 888665555 291 Berry, Bellaire, TX 980 Dallas, Houston, TX 09 JAN-80 731 Fondren, Houston, TX M 3321 Castle, Spring. TX 43000 888665555 4. 25000 987654321 4. 123456789 999887777 666884444 Ramesh K Narayan 15-SEP-77 John Smith 30000 333445555 Alicia J Zelaya 19-JUL-83 25000 987654321 4 975 Fire Oak, Humble, TX 5631 Rice, Houston, TX 38000 333445555 453453453 Joyce A English 31-JUL-87 25000 333445555 5. Department Dept Locations DNUMBER DLOCATION 1 Houston 4 Stafford 5 Bellaire 5 Sugarland 5 Houston DNUMBER DNAME MGRSSN 333445555 22-MAY-2003 MGRSTARTDATE 5 Research 4 Administration 987654321 01-JAN-2006 1 Headquarters 888665555 19 JUN-96 Project PNUMBER PNAME PLOCATION DNUMBER Bellaire Sugarland Houston 10 Computerization Stafford 20 Reorganization Houston Stafford 1 ProductX 2 ProjectY 3 Productz Works On SSN 123456789 123456789 PNUMBER HOURS 32.5 7.5 2 30 Newbenefits 666884444 3 40 453453453 20 453453453 2 20 Dependent DEPENDENT NAME Sex 333445555 2 10 ESSN 333445555 Alice 333445555 Theodore 333445555 Joy 987654321 Abner 123456789 Michael 123456789 Alice 123456789 Elzabeth BDATE RELATIONSHIP 333445555 10 05-APR-2001 Daughter M 25-OCT-2014 Son 03-MAY-1983 Spouse M 28-FEB-1987 Spouse M 01-JAN-2013 Son F 31-DEC-2013 Daughter F 05-MAY-1992 Spouse 333445555 333445555 999887777 999887777 10 10 20 10 F 30 10 30 10 987987987 987987987 987654321 10 35 30 30 20 20 987654321 15 Null 888665555 20
Expert Answer:
Answer rating: 100% (QA)
SELECT COUNT AS Number of Employees COUNTDISTINCT SALARY AS Unique SalarySUMSALARY AS Total SalaryAV... View the full answer
Related Book For
Accounting and auditing research tools and strategies
ISBN: 978-1118027073
8th edition
Authors: Thomas Weirich, Thomas Pearson, Natalie Tatiana
Posted Date:
Students also viewed these accounting questions
-
Use a tax research database to answer the following questions: a. Paraphrase Code Section 61(a)(4). b. What is the general content of Code Section 166(d)? c. Find the precise authority within the...
-
Use WestlawNext Campus Research to answer the following questions regarding the Jensen 178 Cal. App. 4th 426 case: a. In what year was the case decided and by what court? b. Examine the headnote....
-
Use Spreadsheet 18.1 to answer the following questions about Executive Fruit. a. What would be the required external financing if the growth rate is 15% and the dividend payout ratio is 60%? b. Given...
-
What is the atomic weight of a hypothetical element consisting of two isotopes, one with mass= 64.23 amu (36.00%), and one with mass=65.32 amu ( 64.00%) ? [Topic: isotope and molecular weight] 64.93...
-
In a perfectly competitive market, the market demand and market supply curves are given by Qd = 1000 10Pd and Qd = 30Ps. Suppose the government provides a subsidy of $20 per unit to all sellers in...
-
David claims to be able to distinguish brand B beer from brand H but Alice claims that he just guesses. They set up a taste test with 10 small glasses of beer. David wins if he gets 8 or more right....
-
With reference to the previous exercise, construct a 95% confidence interval for the true population mean labor time. Data From Previous Exercise 7.3 An industrial engineer collected data on the...
-
Calculating NPV and IRR a project that provides annual cash flows of $24,000 for nine years costs $110,000 today is this a good project if the required return is 8 percent? What if its 20 per- cent?...
-
A company has established that the relationship between the sales price for one of its product and the quantity sold per month is approximately p = 75 - 0.1D units (D is the demand or quantity sold...
-
The links of the chain are made steel that has a working stress of 300 MPa in tension. If the chain is to support the force P = 45 kN, determine the smallest safe diameter d of the links. P
-
Harriets Hats is a fictional company. The following information includes the balance sheet as of December 31, 2020, and the details of the transactions that occurred during 2021. Background: Harriets...
-
Write down an equation representing the liquidity premium theory of the term structure of interest rates. Based on this theory, explain how the yields on short-term and medium-term government bonds...
-
You work with organizations to provide hospitality solutions which help business build stronger relationships with their employees and customers. You will represent the TAMPA BAY BUCCANEERS. Your...
-
In this project, you will demonstrate your mastery of the following competency: Describe the purpose and function of financial management in an organization Scenario You've been an entry-level...
-
e. On January 1, 2017, P acquired 80% of S for $400,000. On the date of acquisition, S had the following balance sheet: S Company Balance Sheet January 1, 2017 Assets Liabilities and Stockholders'...
-
Using both manual calculations and Moffcalc, calculate the monthly payment for a $416,000 loan. The loan is for 15 years. The Nominal Annual Interest Rate is 11.39%. What is the Effective Interest...
-
what ways do advanced backup methodologies such as snapshot-based replication, continuous data protection (CDP), and immutable backups address the evolving challenges of data governance, privacy...
-
Outline some of the major problems confronting an international advertiser.
-
Assume that the taxpayer has a tax issue in which the only authorities on point are as follows: (a) a private letter ruling that favors the taxpayers position and (b) a Tax Court regular decision...
-
Identify the advantages and disadvantages of rules-based versus principles-based accounting standards.
-
Provide an example of utilizing the research navigation guide
-
Find the heat transfer rate \(\mathrm{q}_{\mathrm{w}}\) at \(\mathrm{x}=10 \mathrm{~cm}\) and \(100 \mathrm{~cm}\) for the flat plate given in Problem 7.31. Problem 7.31 A flat plate of \(4...
-
Obtain the lift and propulsive force coefficients of an airfoil given in Example 8.6, and compare the results with Problem 8.30. Assume the profile pitches about midchord. Example 8.6 The NACA 0012...
-
What are the values of the feathering parameters for the airfoils given by Examples 8.5 and 8.6? Examples 8.5 Assume an airfoil pitching about its leading edge and plunging with \(k=0.35\) as follows...
Study smarter with the SolutionInn App