单选题Management has asked you to calculate the value 12*salary* commission_pct for all the employees in the EMP table. The EMP table contains these columns: LAST NAME VARCNAR2(35) NOT NULL SALARY NUMBER(9,2) NOT NULL COMMISION_PCT NUMBER(4,2) Which statement ensures that a value is displayed in the calculated columns for all employees?()ASELECT last_name, 12*salary* commission_pct FROM emp;BSELECT last_name, 12*salary* (commission_pct,0) FROM emp;CSELECT last_name, 12*salary*(nvl(commission_pct,0)) FROM emp;DSELECT last_name, 12*salary*(decode(commission_pct,0)) FROM emp;
单选题
Management has asked you to calculate the value 12*salary* commission_pct for all the employees in the EMP table. The EMP table contains these columns: LAST NAME VARCNAR2(35) NOT NULL SALARY NUMBER(9,2) NOT NULL COMMISION_PCT NUMBER(4,2) Which statement ensures that a value is displayed in the calculated columns for all employees?()
A
SELECT last_name, 12*salary* commission_pct FROM emp;
B
SELECT last_name, 12*salary* (commission_pct,0) FROM emp;
C
SELECT last_name, 12*salary*(nvl(commission_pct,0)) FROM emp;
D
SELECT last_name, 12*salary*(decode(commission_pct,0)) FROM emp;
参考解析
解析:
暂无解析
相关考题:
(c) Assuming that Joanne registers for value added tax (VAT) with effect from 1 April 2006:(i) Calculate her income tax (IT) and capital gains tax (CGT) payable for the year of assessment 2005/06.You are not required to calculate any national insurance liabilities in this sub-part. (6 marks)
A new internal auditor, Daisy Rosepetal, has recently joined Bluebell Co. She has been asked by management toestablish and to monitor a variety of social and environmental Key Performance Indicators (KPIs). Daisy has noexperience in this area, and has asked you for some advice. It has been agreed with Bluebell Co’s audit committeethat you are to provide guidance to Daisy to help her in this part of her role, and that this does not impair theobjectivity of the audit.(c) Recommend EIGHT KPIs which could be used to monitor Bluebell Co’s social and environmentalperformance, and outline the nature of evidence that should be available to provide assurance on theaccuracy of the KPIs recommended. Your answer should be in the form. of briefing notes to be used at ameeting with Daisy Rosepetal. (10 marks)Note: requirement (c) includes 2 professional marks.
1.publicclassSimpleCalc{2.publicintvalue;3.publicvoidcalculate(){value+=7;}4.}And:1.publicclassMultiCalcextendsSimpleCalc{2.publicvoidcalculate(){value-=3;}3.publicvoidcalculate(intmultiplier){4.calculate();5.super.calculate();6.value*=multiplier;7.}8.publicstaticvoidmain(String[]args){9.MultiCalccalculator=newMultiCalc();10.calculator.calculate(2);11.System.out.println(”Valueis:+calculator.value);12.}13.}Whatistheresult?()
Examine this statement: SELECT student_id, gpa FROM student_grades WHERE gpa > You run the statement once, and when prompted you enter a value of 2.0. A report is produced. What happens when you run the statement a second time?()A. An error is returned.B. You are prompted to enter a new value.C. A report is produced that matches the first report produced.D. You are asked whether you want a new value or if you want to run the report based on the previous value.
The EMPLOYEES table has these columns:LAST NAME VARCHAR2(35)SALARY NUMBER(8,2)HIRE_DATE DATEManagement wants to add a default value to the SALARY column. You plan to alter the table by using this SQL statement:ALTER TABLE EMPLOYEESMODIFY ( SALARY DEFAULT 5000);What is true about your ALTER statement?()A. Column definitions cannot be altered to add DEFAULT values.B. A change to the DEFAULT value affects only subsequent insertions to the table.C. Column definitions cannot be altered at add DEFAULT values for columns with a NUMBER data type.D. All the rows that have a NULL value for the SALARY column will be updated with the value 5000.
Management has asked you to calculate the value 12*salary* commission_pct for all the employees in the EMP table. The EMP table contains these columns:LAST NAME VARCNAR2(35) NOT NULLSALARY NUMBER(9,2) NOT NULLCOMMISION_PCT NUMBER(4,2)Which statement ensures that a value is displayed in the calculated columns for all employees? ()A. SELECT last_name, 12*salary* commission_pct FROM emp;B. SELECT last_name, 12*salary* (commission_pct,0) FROM emp;C. SELECT last_name, 12*salary*(nvl(commission_pct,0)) FROM emp;D. SELECT last_name, 12*salary*(decode(commission_pct,0)) FROM emp;
The EMPLOYEES table has these columns:Management wants to add a default value to the SALARY column. You plan to alter the table by using this SQL statement:What is true about your ALTER statement?() A. Column definitions cannot be altered to add DEFAULT values.B. A change to the DEFAULT value affects only subsequent insertions to the table.C. Column definitions cannot be altered at add DEFAULT values for columns with a NUMBER data type.D. All the rows that have a NULL value for the SALARY column will be updated with the value 5000.
Examine this statement:SELECT student_id, gpaFROM student_gradesWHERE gpa value;You run the statement once, and when prompted you enter a value of 2.0. A report is produced. What happens when you run the statement a second time?()A.An error is returned.B.You are prompted to enter a new value.C.A report is produced that matches the first report produced.D.You are asked whether you want a new value or if you want to run the report based on the previous value.
The EMPLOYEES table has these columns:LAST_NAME VARCHAR2(35) SALARYNUMBER(8,2) HIRE_DATE DATEManagement wants to add a default value to the SALARY column. You plan to alter the table by using this SQL statement:ALTER TABLE EMPLOYEES MODIFY (SALARY DEFAULT 5000);Which is true about your ALTER statement?()A.Column definitions cannot be altered to add DEFAULT values.B.A change to the DEFAULT value affects only subsequent insertions to the table.C.Column definitions cannot be altered to add DEFAULT values for columns with a NUMBER data type.D.All the rows that have a NULL value for the SALARY column will be updated with the value 5000.
( )is a project management technique for measuring project performance and progress.It has the ability to combine measurements of the project management triangle: scope , time and costs.A.Critical path method(CPM)B.Earned value management(EVM)C.Net present value method (NPVM)D.Expert judgment method(EIM)
Certkiller .com has asked you to create a file management application to monitor the hosts file.Certkiller .com has instructed you to change the hosts file if it has been changed.You, therefore, need to display the size and whether the hosts file is set to read-only.What should you do?()A.B.C.D.
( )is a project management technique for measuring project performance and process. It has the ability to combine measurements of the project management triangle; scope time and costs.A.Critica path method(CPM)B.Earned value mangagemengt(EVM)C.Net present value method(NPVM)D.Expert judgment method(EJM)
Mary has just called and asked__to have lunch with her tomorrow.A.you and IB.you and meC.I and youD.me and you
You work as a database administrator for Supportcenter.cn. You have been asked to use a centralized administrative tool to administer your database servers and application servers. In order to achieve the objective, which component would you configure on each database server?()A、Database ControlB、Management ServerC、Management RepositoryD、Application Server ControlE、Oracle Management Agent
The production database has been functional for the last seven days. Because of application requirements, some of the initialization parameters were changed during run time without any comments. You have asked to find out the value of the parameters when the instance was started.Which source would you use to locate this information?()A、 Fixed viewsB、 The alert log fileC、 The parameter fileD、 The server parameter fileE、 Dynamic performance views
The EMPLOYEE tables has these columns: LAST_NAME VARCHAR2(35) SALARY NUMBER(8,2) COMMISSION_PCT NUMBER(5,2) You want to display the name and annual salary multiplied by the commission_pct for all employees. For records that have a NULL commission_pct, a zero must be displayed against the calculated column. Which SQL statement displays the desired results?()A、SELECT last_name, (salary * 12) * commission_pct FROM EMPLOYEES;B、SELECT last_name, (salary * 12) * IFNULL(commission_pct, 0) FROM EMPLOYEES;C、SELECT last_name, (salary * 12) * NVL2(commission_pct, 0) FROM EMPLOYEES;D、SELECT last_name, (salary * 12) * NVL(commission_pct, 0) FROM EMPLOYEES;
You are developing the Payroll application that contains the SALARY and COMMISSION forms. When a user invoked the COMMISSION form from the SALARY form, the SAL value should be passed to the COMMISSION form. In which data form and at what time should you define the parameter to accept the value?()A、SALARY form at runtime. B、SALARY form at design time. C、COMMISSION form at runtime. D、COMMISSION form at design time.
问答题Practice 3 ● You are the Director of the Training Department. The CEO asked you to prepare a proposal for the company in-house course for the management discussion. ● Write 200—250 words.
问答题Practice 4 ● Your manager is keen to improve work efficiency among the staff. He has asked you to introduce to your fellow staff members practices to improve time management. ● Write the report for your manager, including the following information: ● the importance of planning work time effectively, ● practices to improve time management, ● steps to follow in carrying out the practices.
问答题Practice 6 Discussion—about 5 minutes In this part of the test you are given a discussion topic. You have 30 seconds to look at the prompt card, an example of which is below, and then about 3 minutes to discuss the topic with your partner. After that the examiner will ask you more questions related to the topic. Time Management Your company has found that ineffective time management is one of the major problem areas throughout the workforce. You have been asked to put forward some suggestions for improving the situation. Discuss, and decide together: ● Why poor time management can become a major problem in companies ● What procedures could be adopted to ensure that time is managed effectively.
单选题The EMPLOYEES table has these columns: LAST NAME VARCHAR2(35) SALARY NUMBER(8,2) HIRE_DATE DATE Management wants to add a default value to the SALARY column. You plan to alter the table by using this SQL statement: ALTER TABLE EMPLOYEES MODIFY ( SALARY DEFAULT 5000); What is true about your ALTER statement?()AColumn definitions cannot be altered to add DEFAULT values.BA change to the DEFAULT value affects only subsequent insertions to the table.CColumn definitions cannot be altered at add DEFAULT values for columns with a NUMBER data type.DAll the rows that have a NULL value for the SALARY column will be updated with the value 5000.
单选题1. public class SimpleCalc { 2. public int value; 3. public void calculate() { value += 7; } 4. } And: 1. public class MultiCalc extends SimpleCalc { 2. public void calculate() { value -= 3; } 3. public void calculate(int multiplier) { 4. calculate(); 5. super.calculate(); 6. value *=multiplier; 7. } 8. public static void main(String[] args) { 9. MultiCalc calculator = new MultiCalc(); 10. calculator.calculate(2); 11. System.out.println(”Value is: “+ calculator.value); 12. } 13. } What is the result?()A Value is: 8B Compilation fails.C Value is: 12D Value is: -12E The code runs with no output.F An exception is thrown at runtime.
单选题The EMPLOYEES table has these columns:LAST_NAME VARCHAR2(35) SALARY NUMBER(8,2) HIRE_DATE DATEManagement wants to add a default value to the SALARY column. You plan to alter the table by using this SQL statement:ALTER TABLE EMPLOYEES MODIFY (SALARY DEFAULT 5000);Which is true about your ALTER statement?()AColumn definitions cannot be altered to add DEFAULT values.BA change to the DEFAULT value affects only subsequent insertions to the table.CColumn definitions cannot be altered to add DEFAULT values for columns with a NUMBER data type.DAll the rows that have a NULL value for the SALARY column will be updated with the value 5000.
单选题Examine this statement: SELECT student_id, gpa FROM student_grades WHERE gpa value; You run the statement once, and when prompted you enter a value of 2.0. A report is produced. What happens when you run the statement a second time?()AAn error is returned.BYou are prompted to enter a new value.CA report is produced that matches the first report produced.DYou are asked whether you want a new value or if you want to run the report based on the previous value.
单选题You are developing the Payroll application that contains the SALARY and COMMISSION forms. When a user invoked the COMMISSION form from the SALARY form, the SAL value should be passed to the COMMISSION form. In which data form and at what time should you define the parameter to accept the value?()ASALARY form at runtime. BSALARY form at design time. CCOMMISSION form at runtime. DCOMMISSION form at design time.
单选题Examine this statement: SELECT student_id, gpa FROM student_grades WHERE gpa value; You run the statement once, and when prompted you enter a value of 2.0. A report is produced. What happens when you run the statement a second time?()AAn error is returned.BYou are prompted to enter a new value.CA report is produced that matches the first report produced.DYou are asked whether you want a new value or if you want to run the report based on the previous value.
单选题Management has asked you to calculate the value 12*salary* commission_pct for all the employees in the EMP table. The EMP table contains these columns: LAST NAME VARCNAR2(35) NOT NULL SALARY NUMBER(9,2) NOT NULL COMMISION_PCT NUMBER(4,2) Which statement ensures that a value is displayed in the calculated columns for all employees? ()ASELECT last_name, 12*salary* commission_pct FROM emp;BSELECT last_name, 12*salary* (commission_pct,0) FROM emp;CSELECT last_name, 12*salary*(nvl(commission_pct,0)) FROM emp;DSELECT last_name, 12*salary*(decode(commission_pct,0)) FROM emp;