READ Free Dumps For Oracle- 1z0-007
Question ID 7840 | You need to give the MANAGER role the ability to select from, insert into, and modify existing rows in the STUDENT_GRADES table. Anyone given this MANAGER role should be able to pass those privileges on to others. Which statement accomplishes this? |
Option A | GRANT select, insert, update ON student_grades TO manager |
Option B | GRANT select, insert, update ON student_grades TO ROLE manager |
Option C | GRANT select, insert, modify ON student_grades TO manager WITH GRANT OPTION; |
Option D | GRANT select, insert, update ON student_grades TO manager WITH GRANT OPTION; |
Option E | GRANT select, insert, update ON student_grades TO ROLE manager WITH GRANT OPTION; |
Option F | F.GRANT select, insert, modify ON student_grades TO ROLE manager WITH GRANT OPTION; |
Correct Answer | D |
Question ID 7841 | Examine the data in the EMPLOYEES table: LAST_NAME DEPARTMENT_ID SALARY Getz 10 3000 Davis 20 1500 Bill 20 2200 Davis 30 5000 ... Which three subqueries work? (Choose three) |
Option A | SELECT * FROM employees where salary > (SELECT MIN(salary) FROM employees GROUP BY department _ id); |
Option B | SELECT * FROM employees WHERE salary = (SELECT AVG(salary) FROM employees GROUP BY department _ id); |
Option C | SELECT distinct department_id FROM employees Where salary > ANY (SELECT AVG(salary) FROM employees GROUP BY department _ id); |
Option D | SELECT department_id FROM employees WHERE SALARY > ALL (SELECT AVG(salary) FROM employees GROUP BY department _ id); |
Option E | SELECT last_name FROM employees Where salary > ANY (SELECT MAX(salary) FROM employees GROUP BY department _ id); |
Option F | SELECT department_id FROM employees WHERE salary > ALL (SELECT AVG(salary) FROM employees GROUP BY ANG (SALARY)); |
Correct Answer | CDE |