Using the EMP_2 table, write the SQL command to add .15 to the EMP_PCT of the employee
Fantastic news! We've Found the answer you've been seeking!
Question:
Using the EMP_2 table, write the SQL command to add .15 to the EMP_PCT of the employee whose name is Maria D. Alonzo. (Use the employee name in your command to determine the correct employee.)
My code:
And these are the results
Transcribed Image Text:
FIGURE P8.1 THE CH08_CONSTRUCTCO DATABASE Database name: Ch08 ConstructCo Relational diagram Table name: EMPLOYEE EMP_NUM EMP LNAME EMP FNAME EMP_INITIAL EMP_HIREDATE JOB_CODE EMP_YEARS JOB ASSIGNMENT Y JOE CODE Y ASSIGN_NUM 101 News John G 08-Nov-00 502 12 JOB_DESCRIPTION ASSIGN_DATE 102 Senior David H 12-Jul-89 501 23 PROJ_NUM EMP NUM JOB_CHG_HOUR JOB_LAST UPDATE 103 Arbough June E 01-Dec-96 500 18 ASSIGN_JOB ASSIGN_CHG_HR 104 Ramoras Anne K 15-Nov-87 501 25 ASSIGN_HOURS ASSIGN_CHARGE 105 Johnson Alice 01-Feb-93 502 19 22-Jun-04 500 PROJECT Y PROJ NUM 106 Smithfield William 8 EMPLOYEE * EMP NUM EMP LNAME EMP FNAME EMP INITIAL EMP HIREDATE JOB_CODE EMP VEARS 107 Alonzo Maria D 10-Oct-93 500 19 PROJ_NAME PROJ VALUE Washington 22-Aug-91 501 108 Ralph B 21 PROJ_BALANCE 109 Smith 18-Jul-97 501 15 Larry Gerald EMP_NUM 110 Olenko A 11-Dec-95 505 17 111 Wabash Geoff B 04-Apr-91 506 21 112 Smithson Darlene 23-Oct-94 507 18 113 Joenbrood Delbert K 15-Nov-96 508 16 Table name: JOB 114 Jones Annelise 20-Aug-93 508 19 Travis Gerald 115 Bawangi B 25-Jan-92 501 20 JOB_CODE JOB DESCRIPTION JOB_CHG_HOUR JOB LAST UPDATE 116 Pratt L 05-Mar-97 510 15 500 Programmer 35.75 20-Nov-17 117 Williamson Angie 19-Jun-96 509 16 501 Systems Analyst 96.75 20-Nov-17 502 125.00 118 Frommer James J 04-Jan-05 510 7 Database Designer Electrical Engineer 24-Mar-18 503 84.50 20-Nov-17 Table name: ASSIGNMENT 504 Mechanical Engineer 67.90 20-Nov-17 ENOV-17 Civil Engineer Clerical Support DSS Analyst Applications Designer Bio Technician General Support 505 Civil 55.78 20-Nov-17 ASSIGN_NUM ASSIGN_DATE PROJ_NUM EMP_NUM ASSIGN_JOB ASSIGN_CHG_HR ASSIGN_HOURS ASSIGN_CHARGE U-NoV-17 506 26.87 20-Nov-17 1001 22-Mar-18 18 103 503 84.50 3.5 295.75 507 45.95 20-Nov-17 1002 22-Mar-18 22 117 509 34.55 4.2 145.11 508 48.10 24-Mar-18 22-Mar-18 18 22-Mar-18 18B 1003 117 509 34.55 2.0 69.10 509 34.55 20-Nov-17 1004 103 503 84.50 5.9 498.55 510 18.36 20-Nov-17 1005 22-Mar-18 25 108 501 96.75 2.2 212.85 1006 22-Mar-10 22 104 501 96.75 4.2 406.35 1007 22-Mar-18 25 113 508 50.75 3.8 192.85 1008 22-Mar-18 18 103 503 84.50 0.9 76.05 1009 23-Mar-18 15 115 501 96.75 5.6 541.80 Table name: PROJECT 1010 23-Mar-18 15 117 509 34.55 2.4 82.92 1011 PROJ_NUM PROJ NAME 23-Mar-18 25 105 502 105.00 4.3 451.50 PROJ VALUE PROJ BALANCE EMP_NUM 1012 23-Mar-18 18 108 501 96.75 3.4 328.95 15 Evergreen 1453500.00 1002350.00 103 1013 23-Mar-18 25 115 501 96.75 2.0 193,50 18 Amber Wave 3500500.00 2110346.00 108 1014 23-Mar-18 22 104 501 96.75 2.8 270.90 Rolling Tide Starflight 22 805000.00 500345.20 102 1015 23-Mar-18 15 103 503 84.50 6.1 515.45 25 2650500.00 2309880.00 107 1016 23-Mar-18 22 105 502 105.00 4.7 493.50 1017 23-Mar-18 18 117 509 34.55 3.8 131.29 1018 23-Mar-18 25 117 509 34.55 2.2 76.01 1019 24-Mar-18 25 104 501 110.50 4.9 541.45 1020 24-Mar-18 15 101 502 125.00 3.1 387.50 1021 24-Mar-18 22 108 501 110.50 2.7 298.35 1022 24-Mar-18 22 115 501 110,50 4.9 541.45 1023 24-Mar-18 22 105 502 125.00 3.5 437.50 1024 24-Mar-18 15 103 503 84.50 3.3 278.85 1025 24-Mar-18 18 117 509 34.55 4.2 145.11 FIGURE P8.1 THE CH08_CONSTRUCTCO DATABASE Database name: Ch08 ConstructCo Relational diagram Table name: EMPLOYEE EMP_NUM EMP LNAME EMP FNAME EMP_INITIAL EMP_HIREDATE JOB_CODE EMP_YEARS JOB ASSIGNMENT Y JOE CODE Y ASSIGN_NUM 101 News John G 08-Nov-00 502 12 JOB_DESCRIPTION ASSIGN_DATE 102 Senior David H 12-Jul-89 501 23 PROJ_NUM EMP NUM JOB_CHG_HOUR JOB_LAST UPDATE 103 Arbough June E 01-Dec-96 500 18 ASSIGN_JOB ASSIGN_CHG_HR 104 Ramoras Anne K 15-Nov-87 501 25 ASSIGN_HOURS ASSIGN_CHARGE 105 Johnson Alice 01-Feb-93 502 19 22-Jun-04 500 PROJECT Y PROJ NUM 106 Smithfield William 8 EMPLOYEE * EMP NUM EMP LNAME EMP FNAME EMP INITIAL EMP HIREDATE JOB_CODE EMP VEARS 107 Alonzo Maria D 10-Oct-93 500 19 PROJ_NAME PROJ VALUE Washington 22-Aug-91 501 108 Ralph B 21 PROJ_BALANCE 109 Smith 18-Jul-97 501 15 Larry Gerald EMP_NUM 110 Olenko A 11-Dec-95 505 17 111 Wabash Geoff B 04-Apr-91 506 21 112 Smithson Darlene 23-Oct-94 507 18 113 Joenbrood Delbert K 15-Nov-96 508 16 Table name: JOB 114 Jones Annelise 20-Aug-93 508 19 Travis Gerald 115 Bawangi B 25-Jan-92 501 20 JOB_CODE JOB DESCRIPTION JOB_CHG_HOUR JOB LAST UPDATE 116 Pratt L 05-Mar-97 510 15 500 Programmer 35.75 20-Nov-17 117 Williamson Angie 19-Jun-96 509 16 501 Systems Analyst 96.75 20-Nov-17 502 125.00 118 Frommer James J 04-Jan-05 510 7 Database Designer Electrical Engineer 24-Mar-18 503 84.50 20-Nov-17 Table name: ASSIGNMENT 504 Mechanical Engineer 67.90 20-Nov-17 ENOV-17 Civil Engineer Clerical Support DSS Analyst Applications Designer Bio Technician General Support 505 Civil 55.78 20-Nov-17 ASSIGN_NUM ASSIGN_DATE PROJ_NUM EMP_NUM ASSIGN_JOB ASSIGN_CHG_HR ASSIGN_HOURS ASSIGN_CHARGE U-NoV-17 506 26.87 20-Nov-17 1001 22-Mar-18 18 103 503 84.50 3.5 295.75 507 45.95 20-Nov-17 1002 22-Mar-18 22 117 509 34.55 4.2 145.11 508 48.10 24-Mar-18 22-Mar-18 18 22-Mar-18 18B 1003 117 509 34.55 2.0 69.10 509 34.55 20-Nov-17 1004 103 503 84.50 5.9 498.55 510 18.36 20-Nov-17 1005 22-Mar-18 25 108 501 96.75 2.2 212.85 1006 22-Mar-10 22 104 501 96.75 4.2 406.35 1007 22-Mar-18 25 113 508 50.75 3.8 192.85 1008 22-Mar-18 18 103 503 84.50 0.9 76.05 1009 23-Mar-18 15 115 501 96.75 5.6 541.80 Table name: PROJECT 1010 23-Mar-18 15 117 509 34.55 2.4 82.92 1011 PROJ_NUM PROJ NAME 23-Mar-18 25 105 502 105.00 4.3 451.50 PROJ VALUE PROJ BALANCE EMP_NUM 1012 23-Mar-18 18 108 501 96.75 3.4 328.95 15 Evergreen 1453500.00 1002350.00 103 1013 23-Mar-18 25 115 501 96.75 2.0 193,50 18 Amber Wave 3500500.00 2110346.00 108 1014 23-Mar-18 22 104 501 96.75 2.8 270.90 Rolling Tide Starflight 22 805000.00 500345.20 102 1015 23-Mar-18 15 103 503 84.50 6.1 515.45 25 2650500.00 2309880.00 107 1016 23-Mar-18 22 105 502 105.00 4.7 493.50 1017 23-Mar-18 18 117 509 34.55 3.8 131.29 1018 23-Mar-18 25 117 509 34.55 2.2 76.01 1019 24-Mar-18 25 104 501 110.50 4.9 541.45 1020 24-Mar-18 15 101 502 125.00 3.1 387.50 1021 24-Mar-18 22 108 501 110.50 2.7 298.35 1022 24-Mar-18 22 115 501 110,50 4.9 541.45 1023 24-Mar-18 22 105 502 125.00 3.5 437.50 1024 24-Mar-18 15 103 503 84.50 3.3 278.85 1025 24-Mar-18 18 117 509 34.55 4.2 145.11
Expert Answer:
Related Book For
Modern Database Management
ISBN: 978-0133544619
12th edition
Authors: Jeff Hoffer, Ramesh Venkataraman, Heikki Topi
Posted Date:
Students also viewed these databases questions
-
Write an SQL command to display each item ordered for order number 1, its standard price, and the total price for each item ordered.
-
Write an SQL command to display the order number, customer number, order date, and items ordered for some particular customer.
-
Write the SQL command to revoke user Stetsons privilege.
-
For Example, 10.3 with = 0, verify that the stresses from equation (10.5.18) reduce to those previously given in Eq. (8.4.69). Data from example 10.3 Equation 10.5.18 Equation 8.4.69 Consider next...
-
For many years, Sophie has owned and operated several apartment buildings. In 2001 and upon the advice of her attorney, Sophie transferred the apartment buildings to a newly created corporation. Her...
-
During 2015, Lacee Enterprises had gross sales of $247,000. At the end of 2015, Lacee had accounts receivable of $83,000 and a credit balance of $5,600 in Allowance for Bad Debts. Lacee has used the...
-
Discuss under what circumstances a nurse has a duty to question a patients care.
-
The income statement of Kneale Transport Inc. for the year ended December 31, 2014, reported the following condensed information: Kneale's statement of financial position contained the following...
-
Assume that CEDE Insurance Company has purchased from SS Reinsurance Company a surplus share treaty with a $5,000,000 limit and a retention of $70,000. CEDE has written three policies. Policy A...
-
Imagine that you are Magna's new corporate controller and answer the following: 1. Describe Magna's strategy in terms of how it competes for customers. 2. Based on Magna's strategy and the data...
-
Emerald Fashion may be a high-end clothing store found in a little Tennessee town. Emerald has only one store, which is found within the shopping locale by the town square. Emerald enjoys the...
-
Explain the application of market research, segmentation, pricing, targeting, and positioning as they relate to a marketing plan.
-
Definition of Recruitment Strategies Why are recruitment strategies important? Applicable concepts: Recruitment and Selection, Job Analysis Recruitment Strategies to find employees with the right set...
-
What is the following statement accurately describe undisclosed dual agency?
-
What has been your experience with leave benefits? What is the role of human resources in managing leave benefits? In-Text citations and references as needed from accredited academic sites.
-
What are the ethical dilemmas of Big data in human resources?
-
A Rankine power plant that uses an 95% efficient turbine, given that throttle conditions (17.5 MPa/700C) and turbine's exit pressure of 10 kPa. Determine: (a) Turbine's actual work (b)Turbine's...
-
The registrar of a college with a population of N = 4,000 full-time students is asked by the president to conduct a survey to measure satisfaction with the quality of life on campus. The following...
-
Is it possible that during the physical database design and creation step of database development you might want to return to the logical database design activity? Why or why not? If it is possible,...
-
Describe the core idea underlying in-database analytics.
-
How would Fitchwood's security have to be different if the data mart were made available to customers via the Internet?
-
For each system in Figure 15.3, identify (a) the restoring force (b) the type of potential energy associated with the motion. Figure 15.3 Examples of oscillating systems. (a) pendulum (b) ruler...
-
Suppose the spring in Figure 15.1 is compressed twice as much. (a) By how much does the mechanical energy of the spring-cart system increase? \((b)\) What is the relationship between the amplitude of...
-
What are (a) the direction of the velocity of the shadow on the screen in Figure 15.6 (b) the direction of the shadow's acceleration? Figure 15.6 If we project the shadow of a ball moving in a circle...
Study smarter with the SolutionInn App