1Z0-007 · Question #166
Which clause would you use in a SELECT statement to limit the display to those employees whose salary is greater then 5000?
The correct answer is D. WHERE SALARY > 5000. You need to use the WHERE clause to limit the display to those employees whose salary is greater then 5000. Incorrect Answers A: The ORDER BY clause will just sort data, but it will not limit them. B: You cannot use the GROUP BY clause with conditions. Oracle error will be…
Question
Which clause would you use in a SELECT statement to limit the display to those employees whose salary is greater then 5000?
Options
- AORDER BY SALARY > 5000
- BGROUP BY SALARY > 5000
- CHAVING SALARY > 5000
- DWHERE SALARY > 5000
How the community answered
(22 responses)- A9% (2)
- B5% (1)
- D86% (19)
Explanation
You need to use the WHERE clause to limit the display to those employees whose salary is greater then 5000. Incorrect Answers A: The ORDER BY clause will just sort data, but it will not limit them. B: You cannot use the GROUP BY clause with conditions. Oracle error will be generated. C: The HAVING clause may be used only in conjunction with the GROUP BY clause.
Topics
Community Discussion
No community discussion yet for this question.