DEPARTMENT DATA EMPLOYEE DATA EmployeeNumber FirstName Mary Rosalie Richard George Alan 3 4 5 7 8...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
DEPARTMENT DATA EMPLOYEE DATA EmployeeNumber FirstName Mary Rosalie Richard George Alan 3 4 5 7 8 9 855555ES 12 13 14 15 16 17 Create the database tables in SQL or ACCESS: 18 19 20 PROJECT DATA Ken Mary Tom Heather 1000 1100 1200 1300 1400 1500 1600 Ken Linda James Rick Mike Jason Mary Tom George Jula Sam DepartmentName Accounting Administration Finance Human Resources InfoSystems Legal Production Research and Development Sales and Marketing LastName Jacobs Jackson Bandalone Legal Smith Adams Evans Brown Nguyen Sleeman Department Administration Administration Abernathy Caruthers Accounting Jones Accounting Numoto Sales and Marketing Granger Sales and Marketing Nestor Smith Jackson Jones ProjectID ProjectName Human Resources Human Resources Finance Finance Production Production Production Hayakawa Production Stewart Production InfoSystems InfoSystems Research and Development Research and Development 2019 Q3 Production Plan 2019 Q3 Marketing Plan 2019 Q3 Portfolio Analysis 2019 Q3 Tax Preparation 2019 Q4 Production Plan 2019 Q4 Marketing Plan 2019 Q4 Portfolio Analysis BudgetCode OfficeNumber BC-500-10 BLDG01-120 BC-100-10 BLDG01-210 BC-400-10 BLDG01-110 BC-300-10 BLDG01-230 BC-700-10 BLDG02-210 BC-200-10 BLDG01-220 BC-900-10 BLDG02-110 BC-800-10 BLDG02-250 BC-600-10 BLDG01-250 360-285-8500 Position CEO Admin Assistant Attorney HR3 HR1 CFO FA3 FA2 FA2 SM3 SM2 CIO IS2 CTO RD3 OPS3 OPS2 OPS2 OPS1 OPS1 Department Production Sales and Marketing Finance Accounting Production Sales and Marketing Finance Supervisor NULL 1 1 1 4 1 6 6 1 10 1 12 1 14 1 16 17 17 17 100.00 135.00 120.00 145.00 100.00 135.00 140.00 DepartmentPhone 360-285-8405 360-285-8100 360-285-8400 HULL OfficePhone Email Address 360-285-8110 Mary.Jacobs@WP.com 360-285-8120 Rosale.Jackson@WP.com 360-285-8210 Richard.Bandalone@WP.com 360-285-8310 George.Smith@WP.com 360-285-8320 Alan.Adams@WP.com 360-285-8410 Ken.Evans@WP.com 360-285-8420 Mary Abernathy@WP.com 360-285-8430 Tom.Caruthers@WP.com 360-285-8440 Heather.Jones@WP.com 360-285-8510 Ken. Numoto@WP.com 360-285-8520 Linda. Granger@WP.com 360-285-8610 James Nestor@WP.com Rick.Brown@WP.com 360-285-8710 Mike.Nguyen@WP.com 360-285-8720 Jason.Sleeman@WP.com 360-285-8810 Mary.Smith@WP.com 360-285-8820 Tom.Jackson@WP.com 360-285-8830 George.Jones@WP.com Julia.Hayakawa@WP.com Sam.Stewart@WP.com HULL HULL 360-285-8300 360-285-8600 360-285-8200 360-285-8800 360-285-8700 MaxHours StartDate EndDate 2019-05-10 2019-06-15 2019-05-10 2019-06-15 2019-07-05 2019-07-25 2019-08-10 2019-10-15 2019-08-10 2019-09-15 2019-08-10 2019-09-15 2019-10-05 NULL ASSIGNMENT DATA ProjectID EmployeeNumber 1000 1000 1000 1000 1000 1100 1100 1100 1100 1200 1200 1200 1200 1300 1300 1300 1300 1400 1400 1400 1400 1400 1500 1500 1500 1500 1600 1600 1600 1600 WOVO WES5591 6 10 16 17 6 10 11 3 3 6 8 9 1 6 10 16 17 1 6 10 11 3678 HoursWorked 30.00 50.00 50.00 75.00 75.00 30.00 75.00 55.00 55.00 20.00 40.00 45.00 45.00 25.00 40.00 50.00 50.00 30.00 50.00 50.00 75.00 75.00 30.00 75.00 55.00 55.00 20.00 40.00 45.00 45.00 1. Using access or SQL DBMS of your choice, create and run queries to answer the following questions: B. C. D. E. F. G. H. 1. J. K A. What projects are in the PROJECT table? Show all the information for each project. What are the ProjectID. ProjectName, StartDate, and EndDate values of projects in the PROJECT table? What projects in the PROJECT table started before August 1, 2019? Show all the information for each project. What projects in the PROJECT table have not been completed? Show all the information for each project. (WHERE EndDate IS NULL) Who are the employees assigned to each project? Show ProjectID EmployeeNumber. LastName, FirstName, and Office Phone. Who are the employees assigned to each project? Show ProjectID. ProjectName. and Department. Show EmployeeNumber. LastName, FirstName, and Office Phone Who are the employees assigned to each project? Show ProjectID. ProjectName. Department, and DepartmentPhone. Show EmployeeNumber, LastName, FirstName, and OfficePhone. Sort by ProjectID in ascending order. Who are the employees assigned to projects run by the Sales and Marketing Department? Show ProjectID. ProjectName, Department, and DepartmentPhone. Show EmployeeNumber. LastName, FirstName, and OfficePhone. Sort by ProjectID in ascending order. How many projects are being run by the Sales and Marketing Department? Be sure to assign an appropriate column name to the computed results. What is the total MaxHours of projects being run by the Sales and Marketing Department? Be sure to assign an appropriate column name to the computed results. How many projects are being run by each department? Be sure to display each DepartmentName and to assign an appropriate column name to the computed results. DEPARTMENT DATA EMPLOYEE DATA EmployeeNumber FirstName Mary Rosalie Richard George Alan 3 4 5 7 8 9 855555ES 12 13 14 15 16 17 Create the database tables in SQL or ACCESS: 18 19 20 PROJECT DATA Ken Mary Tom Heather 1000 1100 1200 1300 1400 1500 1600 Ken Linda James Rick Mike Jason Mary Tom George Jula Sam DepartmentName Accounting Administration Finance Human Resources InfoSystems Legal Production Research and Development Sales and Marketing LastName Jacobs Jackson Bandalone Legal Smith Adams Evans Brown Nguyen Sleeman Department Administration Administration Abernathy Caruthers Accounting Jones Accounting Numoto Sales and Marketing Granger Sales and Marketing Nestor Smith Jackson Jones ProjectID ProjectName Human Resources Human Resources Finance Finance Production Production Production Hayakawa Production Stewart Production InfoSystems InfoSystems Research and Development Research and Development 2019 Q3 Production Plan 2019 Q3 Marketing Plan 2019 Q3 Portfolio Analysis 2019 Q3 Tax Preparation 2019 Q4 Production Plan 2019 Q4 Marketing Plan 2019 Q4 Portfolio Analysis BudgetCode OfficeNumber BC-500-10 BLDG01-120 BC-100-10 BLDG01-210 BC-400-10 BLDG01-110 BC-300-10 BLDG01-230 BC-700-10 BLDG02-210 BC-200-10 BLDG01-220 BC-900-10 BLDG02-110 BC-800-10 BLDG02-250 BC-600-10 BLDG01-250 360-285-8500 Position CEO Admin Assistant Attorney HR3 HR1 CFO FA3 FA2 FA2 SM3 SM2 CIO IS2 CTO RD3 OPS3 OPS2 OPS2 OPS1 OPS1 Department Production Sales and Marketing Finance Accounting Production Sales and Marketing Finance Supervisor NULL 1 1 1 4 1 6 6 1 10 1 12 1 14 1 16 17 17 17 100.00 135.00 120.00 145.00 100.00 135.00 140.00 DepartmentPhone 360-285-8405 360-285-8100 360-285-8400 HULL OfficePhone Email Address 360-285-8110 Mary.Jacobs@WP.com 360-285-8120 Rosale.Jackson@WP.com 360-285-8210 Richard.Bandalone@WP.com 360-285-8310 George.Smith@WP.com 360-285-8320 Alan.Adams@WP.com 360-285-8410 Ken.Evans@WP.com 360-285-8420 Mary Abernathy@WP.com 360-285-8430 Tom.Caruthers@WP.com 360-285-8440 Heather.Jones@WP.com 360-285-8510 Ken. Numoto@WP.com 360-285-8520 Linda. Granger@WP.com 360-285-8610 James Nestor@WP.com Rick.Brown@WP.com 360-285-8710 Mike.Nguyen@WP.com 360-285-8720 Jason.Sleeman@WP.com 360-285-8810 Mary.Smith@WP.com 360-285-8820 Tom.Jackson@WP.com 360-285-8830 George.Jones@WP.com Julia.Hayakawa@WP.com Sam.Stewart@WP.com HULL HULL 360-285-8300 360-285-8600 360-285-8200 360-285-8800 360-285-8700 MaxHours StartDate EndDate 2019-05-10 2019-06-15 2019-05-10 2019-06-15 2019-07-05 2019-07-25 2019-08-10 2019-10-15 2019-08-10 2019-09-15 2019-08-10 2019-09-15 2019-10-05 NULL ASSIGNMENT DATA ProjectID EmployeeNumber 1000 1000 1000 1000 1000 1100 1100 1100 1100 1200 1200 1200 1200 1300 1300 1300 1300 1400 1400 1400 1400 1400 1500 1500 1500 1500 1600 1600 1600 1600 WOVO WES5591 6 10 16 17 6 10 11 3 3 6 8 9 1 6 10 16 17 1 6 10 11 3678 HoursWorked 30.00 50.00 50.00 75.00 75.00 30.00 75.00 55.00 55.00 20.00 40.00 45.00 45.00 25.00 40.00 50.00 50.00 30.00 50.00 50.00 75.00 75.00 30.00 75.00 55.00 55.00 20.00 40.00 45.00 45.00 1. Using access or SQL DBMS of your choice, create and run queries to answer the following questions: B. C. D. E. F. G. H. 1. J. K A. What projects are in the PROJECT table? Show all the information for each project. What are the ProjectID. ProjectName, StartDate, and EndDate values of projects in the PROJECT table? What projects in the PROJECT table started before August 1, 2019? Show all the information for each project. What projects in the PROJECT table have not been completed? Show all the information for each project. (WHERE EndDate IS NULL) Who are the employees assigned to each project? Show ProjectID EmployeeNumber. LastName, FirstName, and Office Phone. Who are the employees assigned to each project? Show ProjectID. ProjectName. and Department. Show EmployeeNumber. LastName, FirstName, and Office Phone Who are the employees assigned to each project? Show ProjectID. ProjectName. Department, and DepartmentPhone. Show EmployeeNumber, LastName, FirstName, and OfficePhone. Sort by ProjectID in ascending order. Who are the employees assigned to projects run by the Sales and Marketing Department? Show ProjectID. ProjectName, Department, and DepartmentPhone. Show EmployeeNumber. LastName, FirstName, and OfficePhone. Sort by ProjectID in ascending order. How many projects are being run by the Sales and Marketing Department? Be sure to assign an appropriate column name to the computed results. What is the total MaxHours of projects being run by the Sales and Marketing Department? Be sure to assign an appropriate column name to the computed results. How many projects are being run by each department? Be sure to display each DepartmentName and to assign an appropriate column name to the computed results.
Expert Answer:
Answer rating: 100% (QA)
To create the database tables in SQL you would execute a series of CREATE TABLE statements based on the structure outlined in your images Here Ill provide SQL statements to create tables and sample qu... View the full answer
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date:
Students also viewed these general management questions
-
Friendly Skies Ltd operates the check-in facilities at domestic and international terminals throughout Australia. During the month of May the following costs were incurred as passengers were...
-
If you haven?t done so, create the WPC database, tables, and relationships described in this chapter, using the SQL DBMS of your choice. Be sure to populate the tables with the data shown in Figure...
-
Laura is a CPA employed by a regional firm a tax manager. In her spare time, she operates a custom drapery business out of her home. For this business, she uses two rooms in her home exclusively and...
-
Midland Corporation has a net income of $19 million and 4 million shares outstanding. Its common stock is currently selling for $48 per share. Midland plans to sell common stock to set up a major new...
-
The Grimstad Company uses FIFO for internal reporting purposes and LIFO for financial reporting and income tax purposes. At the end of 2007 the following information was obtained from the inventory...
-
In Problems 6978, find bounds on the real zeros of each polynomial function. f (x) = x 4 + 3x 3 4x 2 2x + 9
-
Repeat the calculations of Example 6.3, but for \(80 \mathrm{~mol} \%\) of the liquid distilled. Data From Example 6.3:- Suppose the liquid of Example 6.1 [50 mol% n-heptane (A), 50 mol% n-octane...
-
In January 2017, the management of Kinzie Company concludes that it has sufficient cash to permit some short-term investments in debt and stock securities. During the year, the following transactions...
-
An imaginary Canadian cell phone company would want to examine to determine if there is potential to sell their products in India and USA? How the marketing will be done internationally?
-
Olde World Windows and Doors is a manufacturer of steel windows and doors for both residential and commercial applications. The following problems are decisions that senior management faces in...
-
Forward exchange contract designated as a cash flow hedge of a foreign-currency-denominated forecasted sale of inventory, strengthening $US On October 15, 2018, our U.S.-based company received a...
-
Things had been going very well for Mr. Wang. Thanks to your hard work, he has been working in the US for several years now, has gone through the naturalization process, married but it ended in...
-
According to Prospect Theory, is a gain of $100 on two separate occasions likely to provide greater utility. less utility, or the same total amount of utility as gaining $200 on a single occasion?
-
Show step by step instructions (snapshots) of 1st and 2nd phase of following sort algorithms with input list of numbers (3, 10, 4, 8, 9, 1, 7, 6, 2, 5) a) insertion sort b) selection sort
-
Two firms have both been illegally polluting a nearby river. The pollution is common knowledge between the firms. If no one reports any pollution, the government never finds out (or at least can't...
-
Before conducting her experiment, Julie set her threshold for significance as a p-value of 0.05. Julie has finished collecting data from her experiment and has obtained a p-value of 0.2. Can she...
-
Respiration consists of (1) pulmonary ventilation, (2) pulmonary gas exchange, (3) gas transport, and (4) tissue gas exchange. How does each contribute to respiration: pressure-driven air movements,...
-
You have just begun your summer internship at Omni Instruments. The company supplies sterilized surgical instruments for physicians. To expand sales, Omni is considering paying a commission to its...
-
Ray and Maria Gomez have been married 3 years. They live at 1610 Quince Ave., McAllen, TX 78701. Ray works for Palm Oil Corporation and Maria works for the City of McAllen. Maria's Social Security...
-
Bea Jones (age 32) moved from Texas to Florida in December 2011. She lives at 654 Ocean Way, Gulfport, FL 33707. Bea's Social Security number is 466-78-7359 and she is single. Her earnings and income...
-
The following additional information is available for the Dr. Ivan and Irene Incisor family from Chapters 1-6. On December 12, Irene purchased the building where her store is located. She paid...
-
Consider the data file \(m r o z\) on working wives. Use the 428 observations on married women who participate in the labor force. In this exercise, we examine the effectiveness of a parent's college...
-
Consider the data file \(m r o z\) on working wives. Use the 428 observations on married women who participate in the labor force. In this exercise, we examine the effectiveness of a parent's college...
-
The CAPM says that the risk premium on security \(j\) is related to the risk premium on the market portfolio. That is where \(r_{j}\) and \(r_{f}\) are the returns to security \(j\) and the risk-free...
Study smarter with the SolutionInn App