Topic: Oracle Certified Professional Exams (OCP & OCA) >> Which two statements are true about WHERE and HAVING clauses? (Choose two)
|
Disclaimer: The purpose of all dbapool forums including OCP and Other Oracle Certification forums is to help each other with specific issues but not to share dump and copyrighted exam content, materials or intellectual property.
You may review the entire Oracle Certification Program Candidate Agreement online Here.
|
|
|
|
| Title: Which two statements are true about WHERE and HAVING clauses? (Choose two) |
| naidu |
Posted: Dec 27, 2006 09:45:09 AM |
Total Post: 85
Joined: Nov, 2006
|
Which two statements are true about WHERE and HAVING clauses? (Choose two)
A. A WHERE clause can be used to restrict both rows and groups.
B. A WHERE clause can be used to restrict rows only.
C. A HAVING clause can be used to restrict both rows and groups.
D. A HAVING clause can be used to restrict groups only.
E. A WHERE clause CANNOT be used in a query of the query uses a HAVING clause.
F. A HAVING clause CANNOT be used in subqueries.
Answer:
|
|
|
Jayanta |
| Posted: Dec 27, 2006 10:57:41 AM | |
|
Total Post: 479
Joined: Feb, 2006
|
|
|
|
|
sabiri |
| Posted: Feb 20, 2007 07:44:16 AM | |
|
Total Post: 1
Joined: Feb, 2007
|
what do you think about this command ?
select deptno ,max(sal) from emp
group by deptno
having max(sal)>1 and deptno>20
/
DEPTNO MAX(SAL)
-------- ----------
30 2850
having limits group and rows
|
|
|
|
|
| Time Zone: EDT |
Send this thread to your friend |
|
|
|
|
Forum Rules & Description
Who Can Read The Forum? Any registered user or guest
Who Can Post New Topics? Any registered user
Who Can Post Replies? Any registered user
|
| |
Get FREE Magazines
|
Top 10 Forum User
|
| Murtuja Khokhar | 816 |
| Mohammed Taj | 704 |
| Jayanta Sur | 479 |
| positive fanatic | 416 |
| Vigyan Kaushik | 386 |
| Gitesh Trivedi | 322 |
| Gopu Gopi | 242 |
| neeraj sharma | 231 |
| Ramesh Jois | 226 |
| Bishal Khetan | 196 |
|
|