exam questions

Exam 1z0-071 All Questions

View all questions & answers for the 1z0-071 exam

Exam 1z0-071 topic 1 question 191 discussion

Actual exam question from Oracle's 1z0-071
Question #: 191
Topic #: 1
[All 1z0-071 Questions]

Examine this data in the EMPLOYEES table:



Which statement will execute successfully?

  • A. SELECT dept_id, INSTR(last_name, ‘A’), SUM(salary) FROM employees GROUP BY dept_id;
  • B. SELECT dept_id, STDDEV(last_name), SUM(salary) FROM employees GROUP BY dept_id;
  • C. SELECT dept_id, LENGTH(last_name), SUM(salary) FROM employees GROUP BY dept_id;
  • D. SELECT dept_id, MAX(last_name), SUM(salary) FROM employees GROUP BY dept_id;
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
yaya32
6 months, 2 weeks ago
Selected Answer: D
D is correct
upvoted 2 times
...
Arth1989
6 months, 3 weeks ago
Admins, why so many questions are marked incorrectly?
upvoted 2 times
...
lucemqy
8 months, 3 weeks ago
Selected Answer: D
D should be the correct answer
upvoted 1 times
...
zouve
1 year, 1 month ago
D tested
upvoted 1 times
...
Rik92
1 year, 2 months ago
Selected Answer: D
D is correct
upvoted 1 times
...
Darnun
1 year, 4 months ago
Selected Answer: D
D correct answer
upvoted 1 times
...
alic_alex
1 year, 4 months ago
Selected Answer: D
D correct
upvoted 1 times
...
jfc1
1 year, 5 months ago
Selected Answer: D
C is invalid and returns the error : ORA-00979: not a GROUP BY expression
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago