1.

Which_of_the_following_queries_are_legal?$

A. SELECT deptno, count(deptno) FROM emp GROUP BY ename;
B. SELECT deptno, count(deptno), job FROM emp GROUP BY deptno;
C. SELECT deptno, avg(sal) FROM emp;
D. SELECT deptno, avg(sal) FROM emp GROUP BY deptno;
Answer» C. SELECT deptno, avg(sal) FROM emp;


Discussion

No Comment Found