group function [message #596] |
Sat, 23 February 2002 13:41  |
hshah22222
Messages: 6 Registered: February 2002
|
Junior Member |
|
|
Q: You develop the following SQL statement containing a group expression.Which line in the following select statement,when removed from the statement,will correct the error?
select deptno,avg(sal)
from emp
group by empno;
A. select deptno,avg(sal)
B.from EMP
C.group by empno;
D.There no errors in this statement,therefire no clauses should be removed.
What is the correct answer? and why?
Thank you.
|
|
|
|