- Home
- Oracle Certification
- 1Z0-047 Exam
- Oracle.1Z0-047.dumpsfiles Dumps
Free Oracle 1Z0-047 Exam Dumps Questions & Answers
| Exam Code/Number: | 1Z0-047Join the discussion |
| Exam Name: | Oracle Database SQL Expert |
| Certification: | Oracle |
| Question Number: | 264 |
| Publish Date: | Jul 08, 2026 |
|
Rating
100%
|
|
Total 264 questions
View the Exhibit and examine the description of the EMPLOYEES table.
Your company decided to give a monthly bonus of $50 to all the employees who have completed five years in the company. The following statement is written to display the LAST_NAME, DEPARTMENT_ID, and the total annual salary:
SELECT last_name, departmentjd, salary450*12 "Annual Compensation" FROM employees WHERE MONTHS_BETWEEN(SYSDATE, hire_date)/12 >= 5;
When you execute the statement, the "Annual Compensation" is not computed correctly. What changes would you make to the query to calculate the annual compensation correctly?
View the Exhibit and examine the description of the EMPLOYEES and DEPARTMENTS tables.
You want to display the LAST_NAME for the employees, LAST_NAME for the manager of the
employees, and the DEPARTMENT_NAME for the employees having 100 as MANAGER_ID.
The following SQL statement was written:
SELECT m.last_name "Manager", e.last_name "Employee", department_name "Department"
FROM employees m JOIN employees e
ON (m.employee_id = e.manager_id)
WHERE e.manager_id=100
JOIN departments d
ON (e.department_id = d.department_id);
Which statement is true regarding the output of this SQL statement?
Which statements are true regarding the hierarchical query in Oracle Database 10g? (Choose all
that apply.)
View the Exhibit and examine the descriptions of the DEPT and LOCATIONS tables.
You want to update the CITY column of the DEPT table for all the rows with the corresponding value in the CITY column of the LOCATIONS table for each department.
Which SOL statement would you execute to accomplish the task?
In which scenario would you use the ROLLUP operator for expression or columns within a GROUP BY clause?