READ Free Dumps For Oracle- 1z0-007
Question ID 7871 | Which three SELECT statements displays 2000 in the format "$2,000.00"? (Choose three) |
Option A | SELECT TO CNAR(2000, '$#,###.##') FROM dual; |
Option B | SELECT TO CNAR(2000, '$0,000.00') FROM dual; |
Option C | SELECT TO CNAR(2000, '$9,999.00') FROM dual; |
Option D | SELECT TO CNAR(2000, '$9,999.99') FROM dual; |
Option E | SELECT TO CNAR(2000, '$2,000.00') FROM dual; |
Option F | SELECT TO CNAR(2000, '$N,NNN.NN') FROM dual; |
Correct Answer | BCD |
Question ID 7872 | Examine the structure of the EMPLOYEES and NEW_EMPLOYEES tables: EMPLOYEESEMPLOYEE_ID NUMBER Primary Key FIRST_NAME VARCHARD2(25) LAST_NAME VARCHARD2(25) HIRE_DATE DATE NEW EMPLOYEESEMPLOYEE_ID NUMBER Primary Key NAME VARCHAR2(60) Which UPDATE statement is valid? |
Option A | UPDATE new_employees SET name = (Select last_name|| first_name FROM employees Where employee_id =180) WHERE employee_id = 180; |
Option B | UPDATE new_employees SET name = (SELECT last_name||first_name FROM employees) WHERE employee_id = 180; |
Option C | UPDATE new_employees SET name = (SELECT last_name|| first_name FROM employees WHERE employee_id =180) WHERE employee_id =(SELECT employee_id FROM new employees |
Option D | UPDATE new_employees SET name = (SELECT last name|| first_name FROM employees WHERE employee_id= (SELECT employee_id FROM new_employees)) WHERE employee_id =180; |
Correct Answer | A |